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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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