The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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 |
---|---|
14 | |
12 | |
7 | |
6 | |
5 |
User | Count |
---|---|
28 | |
19 | |
13 | |
7 | |
5 |