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

How to bring slicer selected date value to table.

This is my table structure (data table). 

 

bharathsurya_0-1632150996894.png

When I select a date from the date slicer (from calendar table), the selected date value should be added to the data table, in a new column in all the rows as shown below.

bharathsurya_1-1632151513131.png

 

Is there a way to get the slicer selected date to a new column in the data table? 

Thanks in advance.

 

 

 

 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , You can add a measure in the visual table. You can not add a column

 

measure =

maxx(allselected('Date'), 'Date'[Date])

View solution in original post

5 REPLIES 5
taft3je
Frequent Visitor

I am also looking for a solution to this.  In my application, the selected date needs to be entered into a summary table which is geting unioned wth 3 additional tables.  Then, I am calculating rolling inventory totals.  I am doing this to test when orders can ship.  

v-stephen-msft
Community Support
Community Support

Hi @Anonymous ,

 

Make sure there's no relationship between calendar and main table. Then create the following measure

Date from selection = SELECTEDVALUE('Calendar'[Date])

15.png13.png

 

Best Regards,

Stephen Tao

 

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

amitchandak
Super User
Super User

@Anonymous , You can add a measure in the visual table. You can not add a column

 

measure =

maxx(allselected('Date'), 'Date'[Date])

Anonymous
Not applicable

Thank you for the reply. 
What I'm looking to achieve here is:
1. User selects a date from the 'CreateDate' slicer.
2. This date should reflect in each of the rows in the data table. (not on visual table).

Folllowing

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.