This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
I want to create a measure and use that as a filter. So I am dealing with the inventory dashboard. I have columns such as >4 years, <4 years, < 3 years, < 2 years, and so on. These are in currency format. Now, I want to create a filter with these columns inside, like just the text. So the user can choose for example > 4 years in the filter and the graphs give the inventory information accordingly. Can this be done in Power BI? Looking for something as attached below.
Thanks.
Solved! Go to Solution.
You cannot use a measure as a filter. What you could do is create a calculated column that evaluates the closing stock date and assigns it the closing stock value. That calculated column could then be used as a filter.
Proud to be a Super User! | |
Oh okay!
Got it. Thank you so much
But that calculated column would give the options in numbers, right? Instead I just want the text to be displayed
It would not have to be numbers, it could be text. Here is an example measure;
Proud to be a Super User! | |
You cannot use a measure as a filter. What you could do is create a calculated column that evaluates the closing stock date and assigns it the closing stock value. That calculated column could then be used as a filter.
Proud to be a Super User! | |
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 22 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 44 | |
| 41 | |
| 39 | |
| 21 | |
| 19 |