Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have an issue with two columns I am trying to subtract from.
One column is called Required Qty and the other is called Original Blanket Qty.
I created a measure called Unscheduled Blanket Qty:
Thank you.
Chad
Solved! Go to Solution.
pls try this
measure = max('Table'[orignial blanket qty])-max('Table'[rquired qty])
Measure 2 = sumx('Table',[measure])
Proud to be a Super User!
Hi @MP-iCONN
Your formula works well on my side, you can refer to my pbix file. If possible, please provide your pbix file so that we can find the cause of the problem .
Best Regards
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
maybe you can try
SUM('Sales Orders'[Original Blanket Qty]) - SUM('Sales Orders'[Required Qty])
you can use measures to display the first two columns to check if returns the correct result and do the calculation between these two measures.
Proud to be a Super User!
Same issue.
I did a SUM measure for both Blanket Qty and Required Qty and then added in my Unchscheduled Blanket Qty with the SUM('Sales Orders'[Original Blanket Qty]) - SUM('Sales Orders'[Required Qty]) measure and still the same value where it is not subtracting the 1820 from 910 correctly.
pls try this
measure = max('Table'[orignial blanket qty])-max('Table'[rquired qty])
Measure 2 = sumx('Table',[measure])
Proud to be a Super User!
I tried this and the MAX seemed to work for measure1 (Unscheduled Blanket Qty) but then I did the SUMX of that Measure1 and still off.
Thank you for your help so far!
since i can't reproduct the issue, could you pls provide some sample data and expected output?
Proud to be a Super User!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
31 | |
26 |
User | Count |
---|---|
97 | |
86 | |
43 | |
40 | |
35 |