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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
DanielThangaraj
Frequent Visitor

Group results of a measure that returns a date in a matrix visual.

I have a measure that returns a date in power bi (Latest Period in the below screenshot). How do I group the results into repective month on a matrix visual, just like how we could have if we use a date column with expand and collapse icon? The output required is one row for each month, with an expand/collapse button that would show/hide the country list. Right now I do not get that option as it a measure and not a column from a date table.

DanielThangaraj_0-1698648229390.png

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @DanielThangaraj 
If I understood you correctly and you want to use the latest period as a category on the matrix ( with hierarchy),
it should be a calculated column.

Measures can be used only as "values"

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @DanielThangaraj 
If I understood you correctly and you want to use the latest period as a category on the matrix ( with hierarchy),
it should be a calculated column.

Measures can be used only as "values"

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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