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
mjmeehan
New Member

Daily Spreadsheets of same data combining

Everyday, a report is created of different KPI values based on a part#. There are 2 constants in this report; Part# and Employee column A and Column B respectovely. The rest of the columns are values for the dialy report.

Each day, the spreadsheet is pulled and saved in a network folder. I cannot change the actual excel filers or folder, I can just import into PowerBi. I need to build a 5 day report history. I have been able to do this the hard way by sorting the query by date, removing the top, top2, top3, top4 etc files. This has left me with multiple "queries" named Day2, Day3, Day4 etc. I then create "cards" with a given KPI for a rolling 5 day period (its always the latest 5 files in the foler). This has been working as a solution and shows the groups KPI for each category as a total

Now, my boss is asking if I can do a slicer to choose an emplyee and see the numbers for each employee for the history based on 5 categories. 

Problem is, if I put a slicer in, it only changes the values for that day. I woud have to put in 5 slicers, each for a different day. 

How can I create 1 sllicer that controls the data for all?

1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

Hi @mjmeehan ,

 

You will need a dimension table that contains all slicer values.

One option is to create an active relationship between this dimension table and all fact tables.

Another option is to create a measure that captures the value of the slicer with the selectedvalue() function and compares it to the value in the fact table. Then use this measure as filter.

 

 

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

1 REPLY 1
v-jayw-msft
Community Support
Community Support

Hi @mjmeehan ,

 

You will need a dimension table that contains all slicer values.

One option is to create an active relationship between this dimension table and all fact tables.

Another option is to create a measure that captures the value of the slicer with the selectedvalue() function and compares it to the value in the fact table. Then use this measure as filter.

 

 

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

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.