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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
oscarmqz
Advocate II
Advocate II

Bar chart showing only last 5 days of data from selected date in slicer

Hi, I have a dashboard with multiple visuals, all of them but one will always show a single day of data (selected by the user using a slicer). The other one should show last 5 days of data (from user selection). So in order to show more than 1 single day in the chart I edited the interactions and chose that the date slicer won't filter the line chart, I tried using the Top N filter or relative dates, but it will always show the last 5 days of the whole table and not from the slicer's selection, so I've tried with a measure instead in multiple ways but none is working.... I tried using my single fact table "Snapshot Date" and then created a calendar table but still not working. Hope you guys can help me....

 

temp.png

 

Regards

Oscar

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

Refer to the attached PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

Refer to the attached PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thank you Ashish!

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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