Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Everyone,
I'm trying to get the values of a date slicer using SELECTEDVALUE. Does anyone know how I can go about this especially for relative dates selection (see below).
Essentially i would like to control the selection so for example when a user switches the Year drop down to Day/Week/Month I should get different results.
Is this possible using dax?
Appreciate your Help!
Solved! Go to Solution.
Hi @Anonymous ,
I have created a simple sample, please refer to it to see if it helps you.
Create a measure first.
Measure = SELECTEDVALUE('Table'[date])
Measure cannot be displayed separately in the visuals. So we can create a column.
Column = [Measure]
If I have misunderstood your meaning, please provide your desired output with more details and you sample pbix file without privacy information.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Anonymous is there a way you can select the items on the left side selection box with Last, Next and This? I would like to have my users only view the "This" category and the others to not be seen when you selct that box.
Best,
Marlon
Hi @Anonymous ,
I have created a simple sample, please refer to it to see if it helps you.
Create a measure first.
Measure = SELECTEDVALUE('Table'[date])
Measure cannot be displayed separately in the visuals. So we can create a column.
Column = [Measure]
If I have misunderstood your meaning, please provide your desired output with more details and you sample pbix file without privacy information.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
12 | |
11 | |
8 | |
6 |