Forum Discussion
Page-Level Filtering based on the Latest Date
- 1 year ago
Hi cmkp2675 ,
Try this approach:
Instead of filtering pages or visuals, control which data is shown through measures.If the user selects a date via slicer → that date is used.
If the user does not select any date → the latest date is used automatically.
Dont give any visual/page level filters instead use dynamic measure for this-
EffectiveDate =
VAR SelectedDate = SELECTEDVALUE(MetricsData[Date])
VAR LatestDate = CALCULATE(MAX(MetricsData[Date]), ALL(MetricsData))
RETURN
IF(ISBLANK(SelectedDate), LatestDate, SelectedDate)If you have Timeliness, Completeness, Validation on separate pages, just replicate the same logic for each dataset (change the table/column names accordingly).
Below is the screenshot and pbix file for detailed informationIf this post was helpful, please give us Kudos and consider marking Accept as solution to assist other members in finding it more easily.
Hi cmkp2675 ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a Kudos so other members can easily find it.
Thank you.
Hi cmkp2675 ,
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.
- v-menakakota1 year agoCommunity Support
Hi cmkp2675 ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.