Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All,
Does anyone know what is the dax measure to sum the value of two category?
This is my data set:
Category | Value |
A | 1 |
B | 2 |
C | 3 |
D | 4 |
E | 5 |
What I want to is to create a measure to sum Category A & B, which will return me with a result of 5.
I have tried "Total A&B = calculate(sum(Value),Category="A" && Category="B") ". However it return me with blank.
Please Help.
Cheers,
Kev
Solved! Go to Solution.
Use a pipe instead of &. Your formula is saying it needs to be category A and B at the same time, rather than one or the other
Hi, @BigKev
Please try something like below.
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.
Use a pipe instead of &. Your formula is saying it needs to be category A and B at the same time, rather than one or the other
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
96 | |
95 | |
83 | |
70 | |
66 |
User | Count |
---|---|
118 | |
106 | |
93 | |
79 | |
72 |