The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello
I am looking to build a measure that shows me following criteria.
Filter of column "Escalated" for term "False" and return the values of column "Ticket Number".
This should be shown in a table visual.
How can I do that.
Thank you
Heinrich
Hello v-stephen-msft
Thank you for your answer.
But I need it in a Script because I want to change it dynamically.
i.E. I would use the space for different usecase in conjunction with buttons.
That means
- Press Button 1 and show x,y,z
- Press Button 2 and show a,b,c
Is this possible
Heinrich
Hello Stephen
Thank you.
I need it for a Measure because I want to combine it with other functionalities.
How can I show multiple columns of a same table with a filter. Just the same as you showed previously but with addional columns.
Regards
Heinrich
Hi @Heinrich ,
Please try
Measure1 =
CALCULATE (
MAX ( 'TABLE'[Ticket Number] ),
FILTER ( ALLSELECTED ( 'TABLE' ), [Escalated] = "False" )
)
Measure2 =
CALCULATE (
MAX ( 'TABLE'[Ticket Number] ),
FILTER ( 'TABLE' , [Escalated] = "False" )
)
You can also replace the MAX function with the SUM function for addition.
If you still have doubts, please provide some sample data and the expected results. Remember to protect your privacy.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello Stephen
Thank you it did work.
How can I show mutliple columns.
i.E. not only Ticket Number but also Country Code
Have a great day
Heinrich
Hi @Heinrich ,
Sounds like you want a visual-level filter for filtering multi columns at the same time. If you want to satisfy multiple columns, you don't need to create a measure.
Here I made a simple sample for your reference.
You want to filter out rows with Escalated column False in a table visual containing Country Code and Ticket Number.
Plase drag the Escalated column into the filters and set up as follows.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
100 | |
94 | |
80 | |
63 | |
56 |
User | Count |
---|---|
248 | |
122 | |
110 | |
77 | |
70 |