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
cristianj
Helper IV
Helper IV

I want to lunch a query which result would fill a table displayed, after i select a data

So i want to display a date slicer, and after i select a date, it will display a simple table, based on the selected date, but i don;t know to to run the query after i select data.

Thank you

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @cristianj 

 

Are you trying to select a date in a slicer and then turn that slicer into a table based on that date? If I understand correctly, I'm afraid that requirement is not achievable.

 

If this is acceptable to you, you can have the table visualization displayed based on the date selected in the slicer, like the following:

 

My sample:

vxuxinyimsft_0-1718158072884.png

 

Slicer table:

vxuxinyimsft_1-1718158179806.png

 

Create a measure as follows:

 

Measure = IF(MAX([Date]) >= MIN(Slicer[Date]) && MAX([Date]) <= MAX(Slicer[Date]), 1, 0)

 

 

Put the measure into the visual-level filters, set up show items when the value is 1.

vxuxinyimsft_2-1718158431411.png

 

Output:

vxuxinyimsft_3-1718158640036.png

 

If I've misunderstood you, could you please provide some sample data and the expected results based on the sample data so that I can help you better? How to provide sample data in the Power BI Forum - Microsoft Fabric Community Please remove any sensitive data in advance.

 

Best Regards,
Yulia Xu

 

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

1 REPLY 1
Anonymous
Not applicable

Hi @cristianj 

 

Are you trying to select a date in a slicer and then turn that slicer into a table based on that date? If I understand correctly, I'm afraid that requirement is not achievable.

 

If this is acceptable to you, you can have the table visualization displayed based on the date selected in the slicer, like the following:

 

My sample:

vxuxinyimsft_0-1718158072884.png

 

Slicer table:

vxuxinyimsft_1-1718158179806.png

 

Create a measure as follows:

 

Measure = IF(MAX([Date]) >= MIN(Slicer[Date]) && MAX([Date]) <= MAX(Slicer[Date]), 1, 0)

 

 

Put the measure into the visual-level filters, set up show items when the value is 1.

vxuxinyimsft_2-1718158431411.png

 

Output:

vxuxinyimsft_3-1718158640036.png

 

If I've misunderstood you, could you please provide some sample data and the expected results based on the sample data so that I can help you better? How to provide sample data in the Power BI Forum - Microsoft Fabric Community Please remove any sensitive data in advance.

 

Best Regards,
Yulia Xu

 

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

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.

June 2025 community update carousel

Fabric Community Update - June 2025

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