Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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 =
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
87 | |
87 | |
81 | |
64 | |
49 |
User | Count |
---|---|
121 | |
109 | |
81 | |
67 | |
67 |