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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
afaro
Helper III
Helper III

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
Anonymous
Not applicable

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
Anonymous
Not applicable

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.