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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
harting
Regular Visitor

SUMMARIZECOLUMNS table filter Issue

I would to create a summary table using SUMMARIZECOLUMNS with filter based on selected date of a date slicer.

I created a measure (Selected End Date) for getting the MAX date of selected date range.


Selected End Date = CALCULATE(MAX('Disconnected Date'[Date]), ALLSELECTED('Disconnected Date'[Date]))

 

I seem to be able to get the Selected End Date to display correctly in a tile.  

But the Selected End Date value seems to be incorrect when I am using it in the filter for SUMMARIZECOLUMNS query.

 

harting_0-1621164078154.png

 

My base table is Machine table which has a history log of a machine inspection dates.

I want to create a Machine Summary table to select rows from Machine table which Inspection Dates are included the selected range of Date Slicer.

All tables are not joined.

 

harting_1-1621164100563.png

 

Can someone help to solve the problem of not able to get the correct Selected End Date measure in the formula for creating SUMMARIZECOLUMNS?  

 

Thanks!

 

 

 

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

Hi @harting ,

 

v-lionel-msft_0-1621303231378.png

The ‘Machine Summary’ table is a calculated table, and its values do not change with the slicer dynamically.

v-lionel-msft_1-1621303263014.png

Try to create a measure like this and add it to the table visual.

 

v-lionel-msft_2-1621303507680.png

 

Best regards,
Lionel Chen

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-lionel-msft
Community Support
Community Support

Hi @harting ,

 

v-lionel-msft_0-1621303231378.png

The ‘Machine Summary’ table is a calculated table, and its values do not change with the slicer dynamically.

v-lionel-msft_1-1621303263014.png

Try to create a measure like this and add it to the table visual.

 

v-lionel-msft_2-1621303507680.png

 

Best regards,
Lionel Chen

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

Hi Lionel,

Thanks for your help!

 

Harry

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.