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.
Hi All,
I would like to sum up the amount by Type. I know that ALLEXCEPT work in Scenario 1.
Is there anyone can help to create a measure that could work for all scenario?
Scenario 1 | Scenario 2 | Scenario 3 | Scenario 4 | |||||
Filter 1 (Category): | All Selected | m | All Selected | m | ||||
Filter 2 (Year): | All Selected | All Selected | 2020 | 2021 | ||||
Claim No | Type | Category | Year | Amount | Sum by Type | Sum by Type | Sum by Type | Sum by Type |
a | x | l | 2019 | 100 | 600 | NA | NA | NA |
d | x | m | 2020 | 300 | 600 | 500 | 300 | NA |
e | x | m | 2019 | 200 | 600 | 500 | NA | NA |
b | y | m | 2021 | 100 | 200 | 100 | NA | 100 |
f | y | n | 2021 | 100 | 200 | NA | NA | NA |
c | z | n | 2020 | 100 | 100 | NA | 100 | NA |
Thanks!
Solved! Go to Solution.
Hi, @PowerBIOrg
Please check the below.
Sum by Type Measure =
CALCULATE (
SUM ( 'Table'[Amount] ),
ALLSELECTED ( 'Table' ),
VALUES ( 'Table'[Type] )
)
https://www.dropbox.com/s/sgydb85cmf1uuum/powerbiorg.pbix?dl=0
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Schedule a short Teams meeting to discuss your question
Hi, @PowerBIOrg
Please check the below.
Sum by Type Measure =
CALCULATE (
SUM ( 'Table'[Amount] ),
ALLSELECTED ( 'Table' ),
VALUES ( 'Table'[Type] )
)
https://www.dropbox.com/s/sgydb85cmf1uuum/powerbiorg.pbix?dl=0
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Schedule a short Teams meeting to discuss your question
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 |
---|---|
16 | |
13 | |
12 | |
11 | |
11 |
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |