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.
I have two measures, collected and uncollected which are formatted as measures and correctly show two totals that add to a 100 percent. You can see they present correctly as cards. However, the donut chart is not showing the split and shows 100 percent uncollected, which is clearly not correct. I am expecting to see 93.5 per cent green, a small bit grey. Any idea what is causing this? There is only one page-level filter affecting all visuals and is jsut a filter on business unit.
Solved! Go to Solution.
Hi guys,
Thanks for looking into it, but it definitely was DAX issue - I'm not going to post the full solution here because it won't make sense to anyone, but the answer is very much check your DAX...🙂
@tb1985 , What is the legend you are using or are using both measures.
Only filter is page level:
I think the issue DAX related - the uncollected measure is 1-Collected and is just returning blank when it references [Collected]
Just have, have amended uncollected to:
Uncollected =
var Qday = [Quarter-day]
var Collectpc = CALCULATE([Cash collected %],FILTER('Date','Date'[Date] = Qday))
return
1-Collectpc
Returns OK on the cards, again not on the donut/table.
Hi guys,
Thanks for looking into it, but it definitely was DAX issue - I'm not going to post the full solution here because it won't make sense to anyone, but the answer is very much check your DAX...🙂
Measure Dax:
Collected =
var Qday = [Quarter-day]
return
CALCULATE([Cash collected %],FILTER('Date','Date'[Date] = Qday))
Uncollected =
var Qday = [Quarter-day]
var Collectpc = CALCULATE([Cash collected %],FILTER('Date','Date'[Date] = Qday))
return
1-Collectpc
Hi @tb1985 ,
Are you moving both of your measures under VALUES section for the donut or somewhere else?
Can you put a screenshot for this?
Thanks,
Pragati
Yes, both under values:
If I convert to table it looks like the table collected goes blank:
Hi @tb1985 ,
Is there any visual level filter on your Donut chart?
Can you share pbix file?
Thanks,
Pragati
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 |
---|---|
106 | |
93 | |
75 | |
62 | |
50 |
User | Count |
---|---|
147 | |
107 | |
105 | |
87 | |
61 |