Forum Discussion
Yin34
4 years agoFrequent Visitor
Dynamically Pick Min Date based on slicer's selection
Hi friends, I am still new to Power BI, hope you guys can provide me some guidance. Here is my situation: I would like to pick min date for each level of percentile (low, mid, and high) from each ...
Greg_Deckler
Community Champion
4 years agoYin34 Correct, calculated columns are not dynamic based upon user input. You would need a measure like:
LowDate =
VAR __LowPCT = [LowPCT]
RETURN
CALCULATE(MIN('Table'[SlotDatetimeDTS]),FILTER(ALL('Table'),'Table'[PctAvailable]>__LowPCT))- Yin344 years agoFrequent Visitor
Hi Greg Greg_Deckler
Thanks for the reply!
For the measure you proposed, is there a way to add the condition for ProviderID? Because I would like to pick the min date for each provider separately. Like in the screenshot, the LowDate for provider 403 is 10/13, but the min date for other providers could be different if his/her min SlotDateTimeDTS with PctAvailable >10% is not 10/13. It looks like your formula pick the overall min date across all the providers.
Thank you so much!