Forum Discussion
Anonymous
3 years agoNot applicable
Dynamic Date parameter passed to Data source
<PBI noob here> Please help! Requirement: Need only Direct Query I should have the ability to select a single date from a slicer / calendar type of visual in the report This should be passed ...
- 3 years ago
Hi,
Please check the below picture and the attached pbix file whether it suits your requirement.
expected result measure: = IF ( HASONEVALUE ( Data[Start Date] ), MAXX ( FILTER ( Data, Data[End Date] >= MIN ( 'Calendar'[Date] ) && Data[Start Date] <= MAX ( 'Calendar'[Date] ) ), Data[X] ) )
Jihwan_Kim
3 years agoSuper User
Hi,
Please check the below picture and the attached pbix file whether it suits your requirement.
expected result measure: =
IF (
HASONEVALUE ( Data[Start Date] ),
MAXX (
FILTER (
Data,
Data[End Date] >= MIN ( 'Calendar'[Date] )
&& Data[Start Date] <= MAX ( 'Calendar'[Date] )
),
Data[X]
)
)