Power BI lesson: card visuals
Original diagram created for this blog.
Use cards for headlines
A card is best for one important number: Total Sales, Total Units, Average Sale or Order Count.
Build a card
- Insert a Card visual.
- Drag Amount into the field.
- Choose Sum or Average correctly.
- Format the number as currency or a whole number.
- Test the card with a Region slicer.
Practice
Add Total Sales, Total Units and Average Sale cards. Filter to East and confirm that all three respond.
Worked example: a card that changes with a slicer
Use the four-row SalesPractice CSV from the import lesson. Its Amount values are 1200, 400, 900 and 1600. Before you build the visual, add them yourself: the total is 4100.
- Choose Modeling → New measure and enter
Total Sales = SUM(SalesPractice[Amount]). - Put
[Total Sales]in a Card. Give it the title Total sales and use a readable number format. - Add a Region slicer. Select East: only 400 and 900 remain, so the card should show 1300. Select West: it should show 2800.
If the card says 1025, its aggregation is Average rather than Sum. If it stays at 4100, check the slicer interaction. A card answers “how much?”; the KPI lesson adds a target so the reader can judge progress.
Return to the Power BI hub · Microsoft card documentation
No comments:
Post a Comment
Please do not enter any spam link in the comment box.