This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 8 | |
| 6 | |
| 6 |