Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi there,
Newbie is here. I have been stuck for 1 month to fix my dashboard. Hope someone can help me.
I have a raw data like this:
IndicatorName | Month | Target | Actual |
Indicator1 | 01/01/2021 | 0 | 5 |
Indicator2 | 01/01/2021 | 5 | 1 |
Indicator3 | 01/01/2021 | 30 | 20 |
Indicator4 | 01/01/2021 | 2 | 0 |
Indicator5 | 01/01/2021 | 0 | 0 |
Indicator1 | 01/02/2021 | 5 | 0 |
Indicator2 | 01/02/2021 | 2 | 1 |
Indicator3 | 01/02/2021 | 0 | 8 |
Indicator4 | 01/02/2021 | 0 | 0 |
Indicator5 | 01/02/2021 | 0 | 0 |
Indicator1 | 01/03/2021 | 2 | 7 |
Indicator2 | 01/03/2021 | 0 | 2 |
Indicator3 | 01/03/2021 | 10 | 17 |
Indicator4 | 01/03/2021 | 8 | 4 |
Indicator5 | 01/03/2021 | 0 | 0 |
And I've managed to get this kind of table which is as expected - with slicer month active
Indicator | Target | Actual | Achievement |
Indicator1 | [Sum(Target)] | [Sum(Actual)] | divide (Sum(Actual), Sum(Target)) |
Indicator2 | " | " | " |
Indicator3 | " | " | " |
Indicator4 | " | " | " |
Indicator5 | " | " | " |
But when I want to use a Card that visualizes the "number of indicators that reach the target by at least 90%", I don't get what I expect. I thougt it was because I should use the summarize function. But when I use summarize function, month slicer didn't work.
What I am expecting is, when I Click the Month slicer for 'month 01' and 'month 02', the Card should showing:
I have managed for VAR Indicator with Target:
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
All measures are in the attached pbix file.
Hi @Jihwan_Kim . I have managed the rest. Just to add conditional in countrows part and it works.
You've saved my day! Thank you
Hi,
Please check the below picture and the attached pbix file.
All measures are in the attached pbix file.
Hi @Jihwan_Kim
Thanks a lot for your effort. I just clone your DAX to my dataset. Unfortunately, for the 'Indicator Achieved' VAR, it's still counting non targeted indicator if it has 'Actual' value. This is not what I expecting before.
from above, this supposed to be '7' Indicator Achieved not 9.
Is it because of [HASONEVALUE 'Achievement Measure'] ? Is there any way to adjust from this:
User | Count |
---|---|
25 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
27 | |
12 | |
11 | |
10 | |
6 |