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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Add a measure to Column in Matrix visual

I have a measure that I want to displya as columns in Matrix visual. I am not able to place the meaure in columns section . My measure is: 

 

NewAgeCategory = IF(AND([DaysDifference]>=0,[DaysDifference]<=15),"0D to 15D",IF(AND([DaysDifference]>=16,[DaysDifference]<=30),"16D to 30D",IF(AND([DaysDifference]>=31,[DaysDifference]<=45),"31D to 45D","46D And More" )))
 
 
 

Capture.JPG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous - If you want the measure to show up as column headers, you could create one measure for each category, and then include all of the measures in the Matrix (or Table).

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@Anonymous - 

Instead of creating a Measure, create a Calculated Column.

Anonymous
Not applicable

thank you @Anonymous  for your reply. The reason I chose measure over calculated column is that I have a date filter based on which I will calculate days difference between (max date of the date filter ) and Claim Receive Date.

I do not think calculated columns supports that do they?

 

 

Anonymous
Not applicable

@Anonymous - If you want the measure to show up as column headers, you could create one measure for each category, and then include all of the measures in the Matrix (or Table).

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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