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, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Epter
Frequent Visitor

Problem with slicer and historical data

I’m trying to build a report that show both current and historical economy. Everything works fine except I have a problem with the history. I cannot get the report to show the historical active projects in a correct way. On the screenshot below you can see the report and the filters, but sorry for the blurred numbers as its real figures. Everything is fine until I try to make a filter on the active projects (sagsstatus).

powerbi dashboard.png

 

 

What I have done is I have 3 data sources that my reports are build on. On top of that I have 2 tables I use for the project names and periods. These tables I have bulid relationship between Sagsnavne (Project name) and the 3 data table and the link is the Project number. With the periods I have linked period and the 3 data tables.

 

Powerbi relations.png

 



So I get “sagsstatus” from the table “Sagsnavne” but it seems to ignore the  period that is build in to that table and show me wrong results. So I’m a bit stuck at this and hope that you can come with some inputs.

1 REPLY 1
lbendlin
Super User
Super User

Usually you use a disconnected table to feed your slicer so that it is not impacted by filters in your data model.  In your case you'll need to separate the year from the day of year so you can compare like for like.

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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