Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
I have a table that displays salesperson name, and two measures of Summed Quota and Sum Sales. The two measures are from separate tables 'Quota' and 'Sales'. I would like to add a Fiscal Period slicer to my page so that when I select each fiscal period, the sum totals of the table visualization are only from the fiscal periods that are selected. I have added a slicer for fiscal period but it is not quite working.
Measures
Name | Fiscal Period | Quota | Sales |
Jim | 1 | 150 | 30 |
Jim | 2 | 100 | 50 |
Jim | 3 | 50 | 20 |
Name | Sales | Quota |
Jim | 100 | 300 |
Table with fiscal period 1 & 2 selected (what I am trying to achieve)
Name | Sales | Quota |
Jim | 80 | 250 |
Let me know if this is clear or if you need any further information.
Solved! Go to Solution.
Hi @Anonymous ,
You need to add a Fiscal Period dimension table (I presume both Quota and Sales tables have Fisal Period columns.
- Create a table with only unique Fiscal Period values in it. Either a calendar table or you could do:
dimFiscalPeriod =
SUMMARIZE(
Qouta,
Quota[Fiscal Period]
)
- Go into Model view and create relationships between your new dimension table (dimFiscalPeriod) to both of the Quota and Sales tables from Fiscal Period to Fiscal Period.
- dimFiscalPeriod side should be 'One', and Sales/Quota side should be 'Many'.
- Create slicer using dimFiscalPeriod Fiscal Period column
Good luck
Proud to be a Datanaut!
Hi @Anonymous ,
You need to add a Fiscal Period dimension table (I presume both Quota and Sales tables have Fisal Period columns.
- Create a table with only unique Fiscal Period values in it. Either a calendar table or you could do:
dimFiscalPeriod =
SUMMARIZE(
Qouta,
Quota[Fiscal Period]
)
- Go into Model view and create relationships between your new dimension table (dimFiscalPeriod) to both of the Quota and Sales tables from Fiscal Period to Fiscal Period.
- dimFiscalPeriod side should be 'One', and Sales/Quota side should be 'Many'.
- Create slicer using dimFiscalPeriod Fiscal Period column
Good luck
Proud to be a Datanaut!
Thank you this is very helpful and very close to what I'm looking for. Only thing is that it is only working for the quota column, the sales column is still totaling up to 100. Is this because of the configuration of the relationships in the data modeling?
Name | Sales | Quota |
Jim | 100 | 300 |
Table with fiscal period 1 & 2 selected (what I am trying to achieve)
Name | Sales | Quota |
Jim | 80 | 250 |
Table with fiscal period 1 & 2 selected (what is currently happening)
Name | Sales | Quota |
Jim | 100 | 250 |
Hi @Anonymous ,
See below how the Model view should look and the results I get with that set up:
Proud to be a Datanaut!
I realized the issue is that another relationship I made within for my tables was cross filtering both ways instead of single. This has resolved my issue, thank you so much for your help!
Hi @Anonymous ,
Kindly share your sample data to me if you don't have any Confidential Information. Please upload your files to One Drive for Business and share the link here.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
102 | |
74 | |
42 | |
39 | |
30 |
User | Count |
---|---|
161 | |
87 | |
64 | |
46 | |
42 |