Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi , and thanks for reading this.
I am still learing this but and i have hit a litte bump on the road.
I have 2 tables
I have a relationship between Month and Month (one to one, both)
The Measure 2 is "Measure 2 = (SELECTEDVALUE(test2[matte])* SELECTEDVALUE(test[value]))"
How can i make so if i remove "month" a Sum of the Measure 2 value
If i remove month :
(i would like it to show the sum of measure 2 =35 in line with 2019 and 11)
Thanks so much
Solved! Go to Solution.
Hi @Wresen
try this
Measure 2 = calculate(sumx(test;calculate(sum(test2[Matte]))*calculate(sum(test[value]))))
Thanks so much.
That worked perfect.
I think i need to readup on SUMX to understand what i going on
Thanks again
Sorry for late answer.
Thanks so much for the help
I have one more strange question regarding this.
How do i use a IF statment in this example.
The table "test2" does not excist and and want to:
If test.month =1 then value *2 ; If test.month =2then value *3;If test.month =3 then value *4
I also want the claculation to be correct when i remove month.
I hop i have manages to explain myslef.
Hi Az38 ;and Thanks for helping
It needs to be a mesure since the multiplyed value will change depening on filters (if i managed to make the report)
We have this table , and i want to make a measure that checks the month and depeding on month it will multiply with a number.
If (month = 1 then value *2;If (month = 2 then value *3;If (month = 2 then value *4;
and when i remove month and value i want the still be there
So if it would work i would have Measure to the right of year and a value 35
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.