The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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] )