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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello dear members,
In my model I have created an independed table with percentages from 1%-100% and I have this formula :
IF(DISTINCTCOUNT(Percentage[Value])>1, CALCULATE(SUM(Table1[Salary]) ), IFERROR( CALCULATE(SUM(Table1[Salary])*(1+MAX(Percentage[Value])),BLANK()))
I calculate the salary based on the percentage selection from the slicer.
So I have a report like this:
January February March April May June July August September October November December
IT DIVISION 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000
If the user chooses, for example 5% all these amounts will be increase by 5%
I want this calculationto be applied only to specific months ( April - December) . January to March i want to show only this SUM(Table1[Salary])
How can i do this?
Thank you in advance
Solved! Go to Solution.
You can create a measure with Switch statement:
You can create a measure with Switch statement:
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 31 | |
| 19 | |
| 12 | |
| 10 |