Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I wish to catch the selection in the slizer enventhough the slicer is not filtering the target context. In the image below i would like to take the selection in the slicer and limit the displayed values to all months before the selected valule. How would you do that?
Hi @Anonymous ,
At first, you should use correct format. "CY2014-Aug" is text type value and you cannot sort directly.
Solution1 :
You could change it to be number or date type( like "201408" or "08/01/2014").
Then you could use slicer to get the range.
Solution2 :
You could also create a new table with the month column(number or date type) and use it as your slicer.
Then use SELECTEDVALUE() function to get your selection with a measure and use CALCULATE() function to get value before your selected value.
Solution3 :
If your origin table has a correct sort, you could add an index column and use it as a slicer.
Hi,
The slizer is required to have Month-Year periods listed and it is required to be a drop-down. I want to use the selection to limit the time-axis but has yet to find a viable solution to catch the selection in the chart . SELECTEDVALUE will not give you the value of the slizer if the slizer is not in context as shown. And, if it is in context the time-axis will be limited to show the selcted month.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |