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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
yaman123
Post Patron
Post Patron

Max Column not showing correctly

Hi all, 

 

I have a matrix table in a report and I have a MAX date column in the Rows section. But each time the report refreshes, it expands the column and shows the dates for the month instead of the max date.  So below should show as Min Date 01/09/2021 and Max Date should show as 30/09/2021. 

 

Is there a way to correct this? 

 

yaman123_0-1633440746725.png

TIA

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

Hi @yaman123 

 

If you use max date as a row or column of a matrix table, it will not be calculated. If you want to do the calculation, then you should create a new measure and put it in the value.

Create a measure like this.

Max Date_Measure =
MAXX(
    FILTER( 'Table', [Min Date] = SELECTEDVALUE( 'Table'[Min Date] ) ),
    [Max Date]
)

 

vchenwuzmsft_0-1633655681881.png

 

If I misunderstood you , please let me know.

Best Regards

Community Support Team _ chenwu zhu

 

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

View solution in original post

2 REPLIES 2
v-chenwuz-msft
Community Support
Community Support

Hi @yaman123 

 

If you use max date as a row or column of a matrix table, it will not be calculated. If you want to do the calculation, then you should create a new measure and put it in the value.

Create a measure like this.

Max Date_Measure =
MAXX(
    FILTER( 'Table', [Min Date] = SELECTEDVALUE( 'Table'[Min Date] ) ),
    [Max Date]
)

 

vchenwuzmsft_0-1633655681881.png

 

If I misunderstood you , please let me know.

Best Regards

Community Support Team _ chenwu zhu

 

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

jppv20
Solution Sage
Solution Sage

Hi @yaman123 ,

 

Could you provide some example data from your table?

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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