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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.