March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi Expert
I have the following siwtch formula which only work for the first VAR condition, when selecting the options from the first slicer, the second VAR conidition does nothing on selecting the second slicer......cannot see error.
ProfitabilityMeasureSwitch = VAR ProfitbabilityMeasure = SELECTEDVALUE(ProfitabilityMeasures[MeasureName]) VAR ReportingMeasure = SELECTEDVALUE(Reporting[Reporting]) RETURN SWITCH(TRUE(), ProfitbabilityMeasure = "Gross Margin", [Total Margin %] , ProfitbabilityMeasure = "Net Sales", [Net Sales @AOP BM %], ReportingMeasure = "NOE", [YoY NOE Variance], ReportingMeasure = "Reported", [YoY Reported Variance], BLANK())
Solved! Go to Solution.
Hi Route11,
What does your table look like? Does any relationship between table 'ProfitabilityMeasures' and 'Reporting'? The first selectedvalue in one table will automatically filter the second table. So possiblely because the first value filter the second table but the second value you selected is not in the filtered second table.
Regards,
Jimmy Tao
Hi Route11,
What does your table look like? Does any relationship between table 'ProfitabilityMeasures' and 'Reporting'? The first selectedvalue in one table will automatically filter the second table. So possiblely because the first value filter the second table but the second value you selected is not in the filtered second table.
Regards,
Jimmy Tao
Hi Jimmy..
No relationships exits between the two tables and the fact table...
Table 1. Index
GMARGIN 1
NSALES 2
Table 2. similar... I have used the correct sames and speelings in each table..."but the second value you selected is not in the filtered second table" ho can i fix this......
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
128 | |
90 | |
75 | |
56 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |