Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi,
I have the following calculation but the total shows as a 0 but I'm not too sure why?
If(Selectedvalue(apps[app_value] <30 && Selectedvalue(apps[apps_status] ="test", 0,
If(Selectedvalue(apps[apps_status] in {"test","live"} && Selectedvalue(month_index[is_prior_months]) = "yes", 0 , sum(apps[amount])))
Any idea what needs to be changed on the logic? Is it getting confused because I'm using the sane app_status "test" twice and maybe need an "or" add, or maybe a calculate(sum at the top of the logic? Any help is appreciated
@M_SBS_6 First, please vote for this idea: https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e
This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Also: https://youtu.be/uXRriTN0cfY
And: https://youtu.be/n4TYhF2ARe8
Thanks Greg. Still not really sure what I need to do. I have been playing around with my logic and if I removed the first part
If(Selectedvalue(apps[app_value] <30 && Selectedvalue(apps[apps_status] ="test", 0,
I then get a total.
The problem is, I need that part of the logic to be included. Its odd!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
89 | |
82 | |
53 | |
40 | |
35 |