Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi everyone,
I have recently created different measures to see the evolution of my data month by month and to have the line value that shows the difference in evolution between selected months.
1/ Evolution
The measures for the line chart
A/ Evolution Previous Period
B/ Difference between months to have the line chart
I have two problem
1 - I wish to make the interval for EvolutionPreviousPeriod dynamic
But this measure returns 0 in the visual even though when I check the variable in itself the result is correct.
2- My colleague have asked me to display 0 for the first month instead of the actual difference with the previous month.
Like this
Has anyone ever encountered something like that?
Thank you
Jack
Solved! Go to Solution.
@JackWren , Try measure like
Measure =
Var _min = minx(allselected('DWH Calender'),'DWH Calender'[DATES])
var _month = minx(filter(allselected('DWH Calender') , 'DWH Calender'[DATES] =_min),'DWH Calender'[Year Month])
return
if(max('DWH Calender'[Year Month]) =_month, blank(), [EvolutionPreviousPeriod])
@JackWren , Try measure like
Measure =
Var _min = minx(allselected('DWH Calender'),'DWH Calender'[DATES])
var _month = minx(filter(allselected('DWH Calender') , 'DWH Calender'[DATES] =_min),'DWH Calender'[Year Month])
return
if(max('DWH Calender'[Year Month]) =_month, blank(), [EvolutionPreviousPeriod])
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
13 | |
11 | |
10 | |
10 |