Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi everyone,
I have created a visual table which shows the purchase status of my customers:
1) Picture 1 shows all my customers buying from me
I have 3 product groups (Atom, Diamed & Valx). I have named the purchase status of each products into few Purchase Status using DAX ( Growing, Slowing, critical, follow-up & lost account).
On the top Cards, i try to show the # of accounts under each category based on the table below.
However, I found that the calculations are not tally with the number of accounts shown in the table.
EG: I only have 11 active accounts but the card shows 13 active accounts. Growing accounts in the table and the card is also different.
May I know how can I count the rows in visual table using DAX which contains Critical, Growing, Slowing, etc, in regardless of master name and product group?
EG: Critical = 1 Growing = 11 Slowing = 8
Thanks.
SL
@Anonymous
Did you figured out? I see the it counts the status in the visual correctly in the pbix.
Paul
Hi Paul,
If I select one product, the numbers in the cards are not tally with the numbers shown in the table.
Thanks.
SL
@Anonymous
In fact you cannot count the rows in a table visual, you need to count the original data table after filtering. Please share sample pbix so we can understand your current model.
Paul
Dear Paul,
The thing is I have defined my accounts based on their purchase status. Now, I need to count how many accounts I have based on the status I defined.
Below is my pbix file. Thanks.
https://drive.google.com/file/d/1X_0kwEms9fWAupkxY_GwdoUgiDVteHfj/view?usp=sharing
@Anonymous , does it include a distinct count or some row context if ?
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Hi Amit,
Below is my pbix file. Thanks.
https://drive.google.com/file/d/1X_0kwEms9fWAupkxY_GwdoUgiDVteHfj/view?usp=sharing
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |