How to Create Card Visual in Power BI: Step-by-Step Guide
To create a
Card visual in Power BI, select the Card icon from the Visualizations pane, then drag a numeric field to the Values area. This visual shows a single number, like total sales or count, clearly on your report.Syntax
The Card visual in Power BI does not require code but follows this usage pattern:
- Select Card visual: Click the
Cardicon in the Visualizations pane. - Add data field: Drag a numeric or date field to the
Valuesarea. - Customize: Use the Format pane to change font size, color, background, and data label display.
This creates a simple visual showing one key number.
text
Card Visual Usage Steps: 1. Click 'Card' icon in Visualizations pane 2. Drag numeric field (e.g., SalesAmount) to 'Values' 3. Format visual as needed
Example
This example shows how to create a Card visual displaying total sales from a Sales table.
text
1. Open Power BI Desktop. 2. Load your data (e.g., Sales table with SalesAmount column). 3. In the Visualizations pane, click the 'Card' icon. 4. Drag the 'SalesAmount' field to the 'Values' area of the Card visual. 5. The Card visual will display the sum of SalesAmount. 6. Optionally, use the Format pane to adjust font size and colors.
Output
A card visual showing a single large number representing total sales, e.g., 1,234,567
Common Pitfalls
- Dragging non-numeric fields: Card visuals require numeric or date fields; text fields won't display a meaningful number.
- Multiple fields in Values: Adding more than one field can confuse the visual; it only shows one aggregated value.
- Not aggregating data: If your field is not aggregated (sum, count), the card may show unexpected results.
- Ignoring formatting: Without formatting, the card may be hard to read or not visually appealing.
text
Wrong way: - Dragging a text field like 'ProductName' to Values shows an error or blank. Right way: - Drag a numeric field like 'SalesAmount' which automatically sums the values.
Quick Reference
| Step | Action | Notes |
|---|---|---|
| 1 | Select Card visual icon | Found in Visualizations pane |
| 2 | Drag numeric field to Values | Field must be numeric or date |
| 3 | Check aggregation | Sum, count, or average usually applied |
| 4 | Format visual | Adjust font size, color, background |
| 5 | Use in report | Shows one key number clearly |
Key Takeaways
Select the Card visual icon and drag a numeric field to Values to create a card.
Card visuals display a single aggregated number like sum or count clearly.
Avoid using text fields in card visuals as they do not show meaningful values.
Use the Format pane to improve readability and appearance of the card.
Keep only one field in the card to avoid confusion and errors.