The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
28 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
33 | |
13 | |
12 | |
9 | |
7 |