I need to make Buckets based on KPI col aggregated by Estado:
Buckets: Green >90 , Yellow between 80 and 90 and Red <80. But when I have the buckets, these are calculated in the lower level instead in the upper level. Then when I choose the red color Bucket I get 3 Estados.
My data
Grouped Data ( avg of KPI)
This is what I'm having (By creating the buckets with a calculated column applying rules for Red,Green,Yellow)
Instead of 3,2,1
Somebody has made something similar?
Solved! Go to Solution.
I have found a workaround by creating the three Segments with three measures:
I have found a workaround by creating the three Segments with three measures:
Hey @Alberto_Orta ,
what you are trying to achieve is a little more complex as the segmentation (the bucketing) is based on a measure.
You have to use the pattern described in this article: https://www.daxpatterns.com/dynamic-segmentation/
If you need more help, please create a pbix file that contains sample data but still reflects your data model (including the measure or calculated column that calculates the KPI). Upload the pbix to onedrive or dropbox and share the link. If you are using Excel to create the sample data instead of the manual input method, share the xlsx as well.
Hopefully, this provides what you are looking for to tackle your challenge.
Regards,
Tom
User | Count |
---|---|
106 | |
81 | |
73 | |
48 | |
47 |
User | Count |
---|---|
157 | |
89 | |
81 | |
69 | |
67 |