Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I have a margin created by What_if parameter.
I have three measures:
m1= [a]
m2= [b]
m3= ([a]+[b]) *margin/100
m3 is responding to the margin selection.
Now, I want a list of names. When I create a table and put Name and m3 in the table, it works perfectly, something like below:
name1 --> m3 for name1
name2--> m3 for name2
etc
When m3 is calculated per person, for some people it is negative and for some people it is positive.
Now, I want to have two card visuals which show the sum of m3 when it is negative per person and sum of m3 when it is positive, how can I do this?
Solved! Go to Solution.
Hello @Anonymous
Give these a try
Positive M3 = SUMX ( FILTER ( VALUES ( YourTable[Names] ), [M3] > 0 ), [M3] )
Negative M3 = SUMX ( FILTER ( VALUES ( YourTable[Names] ), [M3] < 0 ), [M3] )
Hello @Anonymous
Give these a try
Positive M3 = SUMX ( FILTER ( VALUES ( YourTable[Names] ), [M3] > 0 ), [M3] )
Negative M3 = SUMX ( FILTER ( VALUES ( YourTable[Names] ), [M3] < 0 ), [M3] )
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
75 | |
68 | |
41 | |
35 |
User | Count |
---|---|
107 | |
56 | |
52 | |
48 | |
40 |