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
Anonymous
Not applicable

Dynamic Table based on Slicers

Hi,

Having One data table of Dates from 1 to 31.
(1-1-2019, 2-1-2019, 3-1-2019 .... 31-1-2019)

 

If the slicer values are 10-1-2019 to 20-1-2019, then Table 1's values are from 10-1 to 20-1 - This is Ok.

 

I need, Table 2 is from 1-1-2019 to 9-1-2019. ie. Less than 10-1-2019.

 

Thanks
Victor

4 REPLIES 4
v-danhe-msft
Employee
Employee

Hi @Anonymous ,

Based on my research, I am afraid you could not create a dynamic table by slicers, not like measures, calculate columns/tables are computed during database processing(e.g. data refresh) and then stored in the model, they do not response to user selections on the report.

So it is not possible to create a calculate column/table can change dynamically with user selections on the report.

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-danhe-msft ,

 

thanks for the sharing ....

 

Can we create a table using FILTER () ?

NewTable = FILTER(Table, Table[Date] < MIN ( Slice Date  ) )  ....

 

Regards

Victor

Hi @Anonymous ,

You could use this formula but it will just create a static table and will not affected by any silcers.

 

Regards,

Daniel He

 

 

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-danhe-msft ,

 

Just tried with the following:

NewTable = FILTER(Table, Table[Date] < MIN ( Table[Date]  ) )

 

Data is Changing (Filtering) ...  

But the  MIN ( Table[Date])  should replaced by the first value of the slicer.  

 

How to get the First value of the slicer.

 

Regards

Victor

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.