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.
Dear All
I hope you are doing well. While doing some hands-on, I got a scenario where I have to show Month-wise Pending Purchase Orders Qty. (EKET.MENGE) of different products in a report column. This Qty is based on estimated Delivery Date (EKET.EINDT) but it should incorporate (subtract) the Actual Received Qty (MSEG.MENGE) based on Actual Receiving Date (MSEG.BUDAT). I have shared the measure I am using right now but it doesn't include any logic for Actual Receiving Qty & Date. I wanted to ask you how I can add that logic into this measure so it can reflect pending orders Qty after subtracting actually received Qty. Note that this measure already includes logic as month select is dynamic based on the Date filter (date chosen by users in filter)
VAR SELECTEDDATE = MAX(DateMaster[Date])
VAR NEXTDATE = DATESINPERIOD('DateMaster-temp'[Date],SELECTEDDATE+1,+1,MONTH)
VAR RESULT =
CALCULATE(TOTALMTD(CALCULATE(SUM(EKPO[EKET.MENGE]),EKKO[LIFNR]="1000000588"),DateMaster[Date]), REMOVEFILTERS(DateMaster),
KEEPFILTERS(NEXTDATE),
USERELATIONSHIP('DateMaster-temp'[Date],DateMaster[Date]))
return result
Hi @Anonymous ,
Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
79 | |
63 | |
52 | |
47 |
User | Count |
---|---|
215 | |
89 | |
76 | |
66 | |
60 |