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 there!
I am looking for help with a DAX measure which should display max selected date value slicer in a table visual.
eg: max transaction date in slicer below is 8/07/2024 , I want that date should be displayed as my invoice date for all my transactions.
Appreciate your help!
Solved! Go to Solution.
Hi,
Try this:
MaxSelectedDate =
CALCULATE (
MAX ( 'DateTable'[Date] ),
ALLSELECTED ( 'DateTable' )
)
and then, you can create another measure to display the max selected date as the invoice date for all transactions:
InvoiceDate =
VAR MaxDate = [MaxSelectedDate]
RETURN
IF (
NOT ISBLANK ( MaxDate ),
MaxDate,
BLANK ()
)
Hi,
Try this:
MaxSelectedDate =
CALCULATE (
MAX ( 'DateTable'[Date] ),
ALLSELECTED ( 'DateTable' )
)
and then, you can create another measure to display the max selected date as the invoice date for all transactions:
InvoiceDate =
VAR MaxDate = [MaxSelectedDate]
RETURN
IF (
NOT ISBLANK ( MaxDate ),
MaxDate,
BLANK ()
)