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.
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.
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 |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |