Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have a set of filters that I'm hoping the end user can use to select values to be used in a calculation. The values are for certain years so I'd like to show the year instead of the value as it may not make sense to see a random number and to know what year it corresponds with.
Here's an example. This value is for the year 2018 and I'd like my filter to show "2018" instead of the number but still be able to use the number in a calculation.
Solved! Go to Solution.
Hi,
here you see the original Table with the data. In the second picture you see the table visual with the values and the years also a slicer with the years. In the third picture you see how I activate the filter and you see it works. The visual only shows the value for 2016.
Best,
Kathrin
Hi,
do you have a date column in your table or instead a date dimension in your model? Than you can use this instead of the value.
Best Kathrin
Here's the table in question. I do have a date column for the year. In the Equity Column you can ignore the year I put in before the number. I was just experimenting.
Than its easy - put the years as value in the filterpane or in the slicer and you can filter after the Values in one specific year 🙂
Best Kathrin
@KBO I guess I'm a bit confused on how to use the selectedvalue function to grab a value not shown in the filter. I understand they're on the same line so there's a connection there but do you have an example of that being used?
Hi,
here you see the original Table with the data. In the second picture you see the table visual with the values and the years also a slicer with the years. In the third picture you see how I activate the filter and you see it works. The visual only shows the value for 2016.
Best,
Kathrin
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
79 | |
59 | |
36 | |
33 |
User | Count |
---|---|
92 | |
59 | |
59 | |
49 | |
41 |