The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi all,
I'm brand new to power BI and have been told by a few people that power bi functionality mirrors excel. At least from my beginner state, this doesn't appear to be the case. I'm hoping you can help me fix my if statement. I have a strong suspicion from there i will need help writing a sumif / countif statement as well.
My if ( if([Weighted ABS Workload %]<=0.0349,1,0) ) statement was creating using a new measure (as opposed to new column). The values are populating correctly at each row, however, for some reason my total isn't populating? I should expecet to see the value of 10.
thanks,
Jason
Solved! Go to Solution.
m_total =
@Anonymous ,
Try like sumx(summarize(Table,table[Date],"_sum", if([Weighted ABS Workload %]<=0.0349,1,0) ),[_sum])
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
Thanks for the response Greg.
I'm struggling with the formula. Please keep in mind this is coming from someone who is just beginning to learn python.
I've tried mirroring your formula as follows:
m_single = if([Weighted ABS Workload %] <= 0.0349, 1, 0)
m_total =
m_total =
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
80 | |
74 | |
46 | |
39 |
User | Count |
---|---|
135 | |
109 | |
70 | |
64 | |
55 |