Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
I have a fact table related to a date table. I want a measure to get the latest date in the fact table data regardless of slicers. For example my data is upto yesterday 2024-12-19 and I want this to be visible. If I refresh import the data will include today and then the measure should update. I have tried variations of Max data using All except.
Solved! Go to Solution.
Hi @Si_7777 ,
Latest Date (Ignore Slicers) =
CALCULATE(
MAX('FactTable'[DateColumn]),
ALL('FactTable')
)
please try this
Thank you both very helpful
Hi @Si_7777 ,
Latest Date (Ignore Slicers) =
CALCULATE(
MAX('FactTable'[DateColumn]),
ALL('FactTable')
)
please try this
Hi @Si_7777
Try these:
LatestDate =
--takes into consideration that there may be multiple fact tables and sales measure is referencing these tables.
CALCULATE ( LASTNONBLANK ( 'Date'[Date], [Sales] ), REMOVEFILTERS ( 'Date' ) )
LatestDate2 =
--assuming Sales is the only fact table
CALCULATE ( MAX ( Sales[Date] ), REMOVEFILTERS ( Sales ) )
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
90 | |
82 | |
65 | |
51 | |
31 |
User | Count |
---|---|
117 | |
116 | |
71 | |
64 | |
39 |