Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Good morning,
I am trying to calculate the Technical_dispatch_reliability of the same day of last week (ie minus 7 days). I thought the screenshot below would do the job but it does not: there is a calculation but I don't get the same result manually. Please note that as this is a dynamically connected file, I cannot create new colums in my table, I can only use measures.
Technical_dispatch_reliability : data to be calculated from rough data
STD_DATE : Column containing dates of some rough data
Is my fomula correct?
Best regards,
Solved! Go to Solution.
Hello,
I found out why my calculation was wrong: nothing to do with my filter actually. Be advised, the one I'm using works fine, but yours is not: as this is a connected table, I cannot use the DATEADD.
Thank you for you help anyway!
Best regards,
Hi Green_Boby,
Modify your measure as below and check if it can meet your requirement:
Technical_dispatch_reliability_15_TO_D-7 = CALCULATE ( Technical_dispatch_reliability_15_TO, FILTER ( OPS_LEG, OPS_LEG[STD_DATE] = TODAY () - 7 ) )
Regards,
Jimmy Tao
Hello,
I found out why my calculation was wrong: nothing to do with my filter actually. Be advised, the one I'm using works fine, but yours is not: as this is a connected table, I cannot use the DATEADD.
Thank you for you help anyway!
Best regards,
try this
Measure = CALCULATE([Technical_dispatch_reliability_15_TO];DATEADD('OPS_LEG'[STD_DATE];-7;DAY)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
84 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |