Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Heinrich
Post Partisan
Post Partisan

Measure to show values of a Column in a visual

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

 

 

5 REPLIES 5
Heinrich
Post Partisan
Post Partisan

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

 

 

Heinrich
Post Partisan
Post Partisan

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

Anonymous
Not applicable

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

Anonymous
Not applicable

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.

vstephenmsft_0-1675070671173.png

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.

vstephenmsft_1-1675070879039.png

   

                                                                                                                                                         

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.           

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors