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.
HI, @SpartaBI
Related to below Ticket
https://community.powerbi.com/t5/Desktop/Measurement-Time-out/m-p/2557968#U2557968
i need to facilitate the below mesure to Speed up calculation process
i need to get the monthly impacy by sbtruct the current month value - previous month
but when i do it the calcoulation consider the previous month od Jan is DEC. with value but dec. should be zero
Solved! Go to Solution.
@WaelTalaat79 here you go:
PR for PreivMonth 2 =
if([YTD PR Calculate]=0,0, CALCULATE([YTD PR Calculate],DATEADD('Date'[Date].[Date],-1,MONTH)))
@WaelTalaat79 here you go:
PR for PreivMonth 2 =
if([YTD PR Calculate]=0,0, CALCULATE([YTD PR Calculate],DATEADD('Date'[Date].[Date],-1,MONTH)))
@WaelTalaat79 , Based on what I got. With help from the date table, Try YTD, YTD till last most
YTD =
var _max = if(isfiltered('Date'),MAX( 'Date'[Date]) , today())
var _min = eomonth(_max,-1*MONTH(_max))+1
return
CALCULATE([net] ,DATESBETWEEN('Date'[Date],_min,_max))
YTD till Last month =
var _max = eomonth(if(isfiltered('Date'),MAX( 'Date'[Date]) , today()),-1)
var _min = eomonth(_max,-1*MONTH(_max))+1
return
CALCULATE([net] ,DATESBETWEEN('Date'[Date],_min,_max))
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 |
---|---|
192 | |
79 | |
70 | |
50 | |
42 |