Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello,
I need a measure that gives the sales of selected scenario and adds preivous sales i have created the folowing measure
the issue i have is the overlap in month may june and july (it can change depending on the chosen scenario) how can i filter the duplicate value from fix so that i have all values from var 1 or var 2 (selected scenario) and the values that dosent exist from FIX like that
here the data source
Hi @King8James,
You can use switch and selectedvalue function to redirect to different calculation expressions based on current selected value.
Regards,
Xiaoxin Sheng
hey thanks for you reply,
the issue i have is : i have to include the whole sales of the selected scenario for example if i choose var 1 sales start from may till january 2023 and fix should be the months before may (if i choose var2 sales start from june 2022 till january 2023 and fix should be the months before june ) so the values of fix are variable and depend on the chosen scenario.
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
18 | |
15 | |
7 | |
5 |