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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi Guys,
What I'm trying to do as a measure to work in a table and probably charts too.
=IF(Month >= Month(Today()), Year = Year(Today()), 'Show Measure with new calculated figures','show historic sales' (Sales)
So
Jun : Jul : Aug
10 : 15 : 20
Sales field : Sales Field : Calculated measure.
Thanks
Solved! Go to Solution.
I gave up waiting and worked it out lol, just need to add the Year bit in, which i'll sort out easily.
Measure 3 = if([Measure 2]>= MONTH(TODAY()),[Measure 2],[Measure 4])
I gave up waiting and worked it out lol, just need to add the Year bit in, which i'll sort out easily.
Measure 3 = if([Measure 2]>= MONTH(TODAY()),[Measure 2],[Measure 4])
Measure = IF([Month]>MONTH(TODAY()) && [Year]=YEAR(TODAY()); [Calculated measure]; [Historic sales] )
User | Count |
---|---|
89 | |
70 | |
67 | |
53 | |
27 |