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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
afaro
Helper II
Helper II

How to use ISFILTERED for clustered column chart?

I am currently using something like this: 

 

SWITCH(TRUE(),

ISFILTERED(X), Y,

ISFILTERED(Z), A) 

 

 

I need to see more than one output if something is filtered since it is a clustered column chart. How do I do this ?

 

 

 

1 ACCEPTED SOLUTION
v-zhouwen-msft
Community Support
Community Support

Hi @afaro ,

Regarding your question, are you trying to display multiple columns in a clustered bar chart by returning multiple values for a single measure?

vzhouwenmsft_0-1715911170904.png

After my testing, this doesn't seem to be possible due to the fact that only one value can be returned for a single measure. Also only a separate column can be generated. The y-axis of the clustered bar chart does not accept data of type 'Text' after stitching multiple values into a string.So my suggestion is to create multiple measures.

Measure = IF(ISFILTERED('Table'[Amount]),SUM('Table'[Amount]))
Measure 2 = IF(ISFILTERED('Table'[ID]),MAX('Table'[ID]))

vzhouwenmsft_1-1715911560022.png

vzhouwenmsft_2-1715911586499.png

 

View solution in original post

1 REPLY 1
v-zhouwen-msft
Community Support
Community Support

Hi @afaro ,

Regarding your question, are you trying to display multiple columns in a clustered bar chart by returning multiple values for a single measure?

vzhouwenmsft_0-1715911170904.png

After my testing, this doesn't seem to be possible due to the fact that only one value can be returned for a single measure. Also only a separate column can be generated. The y-axis of the clustered bar chart does not accept data of type 'Text' after stitching multiple values into a string.So my suggestion is to create multiple measures.

Measure = IF(ISFILTERED('Table'[Amount]),SUM('Table'[Amount]))
Measure 2 = IF(ISFILTERED('Table'[ID]),MAX('Table'[ID]))

vzhouwenmsft_1-1715911560022.png

vzhouwenmsft_2-1715911586499.png

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.