The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
HI Team,
I have below table
Date | Comments | Category |
1/1/2023 | Helllo | A |
1/1/2023 | Hiiiiii | A |
2/1/2023 | Hello,testing | B |
3/1/2023 | hellllll | A |
If a slicer is filtered then show only rows where date is 16 days from today else show everything.
How to achive this using a measure??
Solved! Go to Solution.
Hi,
1st create a separate slicer table using table functions. E.g.
Then create a measure like this:
Now place it into a visual like this:
Then If you select a slicer from the slicer table the measure will work:
To get the slicers to function with your table e.g. so that category slices category from your fact table repeat the logic like this:
Now the previously shown row is not shown since the row had category = A.
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/
Proud to be a Super User!
Hi,
1st create a separate slicer table using table functions. E.g.
Then create a measure like this:
Now place it into a visual like this:
Then If you select a slicer from the slicer table the measure will work:
To get the slicers to function with your table e.g. so that category slices category from your fact table repeat the logic like this:
Now the previously shown row is not shown since the row had category = A.
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/
Proud to be a Super User!
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
7 | |
7 |