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
Minakshi
Resolver I
Resolver I

getting selected date value from a visual

Hello experts,
Is there anyway to save selected date in the visuals below  (1/5/2021) ? 
I am willing to use this date to filter another visual which is showing latest date trend when nothing is selected on the date visual else it will show trend selected date trend.

Screenshot from 2021-01-30 16-36-45.png

Thanks

1 ACCEPTED SOLUTION
mahoneypat
Employee
Employee

Can you just use the native crossfiltering behavior of visuals to get that effect?

Change how visuals interact in a report - Power BI | Microsoft Docs

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

3 REPLIES 3
v-eqin-msft
Community Support
Community Support

Hi @Minakshi ,

 

Based on my test, you need two tables without relationships between them.

Then you could use the following formula to create a measure and apply it to visual-filter pane like this:

2.1.7.1.gif

 

Please take a look at the pbix file here.

 

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

Hi @v-eqin-msft 
Thank you so much. It somehow doesn't solve the problem. Other visual which I want filter doesn't have date. The other visual doesn't get filtered with max date. works fine with default behaviour of BIworks fine with default behaviour of BIScreenshot from 2021-02-02 16-08-53.png

mahoneypat
Employee
Employee

Can you just use the native crossfiltering behavior of visuals to get that effect?

Change how visuals interact in a report - Power BI | Microsoft Docs

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


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.