0
0
Power-biHow-ToBeginner ยท 3 min read

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 Card icon in the Visualizations pane.
  • Add data field: Drag a numeric or date field to the Values area.
  • 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

StepActionNotes
1Select Card visual iconFound in Visualizations pane
2Drag numeric field to ValuesField must be numeric or date
3Check aggregationSum, count, or average usually applied
4Format visualAdjust font size, color, background
5Use in reportShows 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.