Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello! My gap/difference measure isn't working correctly.
This is my raw data:
My page is bringing in the average per Line (so taking the average of shift 1 and 2)
I have a GAP of OR forumla that is:
But the average of Line Result ( 98.2 + 97.2 + 95.8 /3 = 97.07) and the planned result = 96, so the difference/gap SHOULD be 97.07-96 = 1.07
What am I doing wrong?
Hi @nataliesmiy1357 ,
I tried to reproduced it but failed. I used AVERAGE function. Here's the results. My Line Result and Planned OR% are both columns.
Please provide us with more detailed information, thanks.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
and the planned result = 96
well, not exactly. it is 96*5/6 = 80. Hence the difference is 17.07% rather than 1.07%
That makes sense - so how can I create the DAX to not consider the null/N/a values? So taking the average of the actual data: 96*5 / 5 actual values.
So you would filter out the associated 98.2% line result as well?
No - I would want that included.
I feared as much. I would call that "lying to one self". Can't/won't help you with that.
okay.... what if I don't include it?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
124 | |
79 | |
49 | |
38 | |
37 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |