Forum Discussion
Anonymous
4 years agoNot applicable
Two Separate Date Selection
Hi, I am willing to implement two drop downs for date selction: Start Date, End Date. My page will have two types of vizes: 1. Viz only impacted by the End Date 2. Viz impacted by both Star...
- 4 years ago
Hi Anonymous ,
You need two date tables. one for "From" and another for "To".
Measure:
V1 = IF(SELECTEDVALUE('Fact table'[Date])<=MAX('Slicer2'[Date]),1)V2 = IF(SELECTEDVALUE('Fact table'[Date])>=MIN('Slicer1'[Date]) && SELECTEDVALUE('Fact table'[Date])<=MAX('Slicer2'[Date]),1)Pbix in the end you can refer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-chenwuz-msft
4 years agoCommunity Support
Hi Anonymous ,
You need two date tables. one for "From" and another for "To".
Measure:
V1 = IF(SELECTEDVALUE('Fact table'[Date])<=MAX('Slicer2'[Date]),1)
V2 = IF(SELECTEDVALUE('Fact table'[Date])>=MIN('Slicer1'[Date]) && SELECTEDVALUE('Fact table'[Date])<=MAX('Slicer2'[Date]),1)
Pbix in the end you can refer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
4 years agoNot applicable
This is brilliant, thanks !