Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi ,
I have created KPI Dashboard for my company. My data source is excel. Sample data as below:
How can I populate the result in the KPI Card? ... Dax/Measure, or does anyone have better ideas.
Expected Result = Achievement VS Threshold, Min, Target or Not Started
Thank you.
Newbie
Solved! Go to Solution.
@NickzNickz_BI , Create a new column and use that in the visual level filter of card visual. In card, display count and use a visual level filter
@NickzNickz_BI , what is logic? What will be displayed on the card? Please explain..
The information you have provided is not making the problem clear to me. Can you please explain with an example.
Appreciate your Kudos.
Hi @amitchandak ,
Question: What is logic
I give an example logic for Row 2 and something like this:
If Achievement is 0 than result is Not Started
If Achievement is <B2 than result is Below Threshold
If Achievement is =B2 and <C2 than result is Threshold
If Achievement is =C2 and <D2 than result is Min
If Achievement is >=D2 than result is Target
Question: What will be displayed on the card?
Number (Sum)
I have a few options actually but after looking deeply, I realized that if I use certain options, I can maximize the use of information. My idea is to create a new column on that table in Power BI and put the logic there. From there, we can make a SUM (column) based on the result. I hope you get what I mean and I have no idea if we able to do that.
Thanks and regards,
Newbie
@NickzNickz_BI , Create a new column and use that in the visual level filter of card visual. In card, display count and use a visual level filter
Hi @amitchandak,
Basically, I have zero knowledge about Dax. Can you help/teach me how to write the formula properly? I really appreciate your help...
I did find some DAX formulas and tried to match them with my condition as below.
Achievement Result =
SWITCH(
TRUE(),
'tbl_kpi_submission'[achievement] >0 && 'tbl_kpi_submission'[achievement] < 'tbl_kpi_submission'[Threshold],"Below Threshold",
'tbl_kpi_submission'[achievement] >= 'tbl_kpi_submission'[Threshold] && 'tbl_kpi_submission'[achievement] < 'tbl_kpi_submission'[Min],"Threshold",
'tbl_kpi_submission'[achievement] >= 'tbl_kpi_submission'[Min] && 'tbl_kpi_submission'[achievement] < 'tbl_kpi_submission'[Target],"Min",
'tbl_kpi_submission'[achievement] >= 'tbl_kpi_submission'[Target],"Target","Not Started"
)
Let me know if I'm doing it the wrong way.
Thanks
User | Count |
---|---|
42 | |
28 | |
24 | |
20 | |
16 |
User | Count |
---|---|
54 | |
35 | |
18 | |
18 | |
15 |