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,
I have the dataset and i want "output" column using dax.
Mater Category | Sub-Category | Total | Output |
A | A1 | 10 | 50 |
A | A1 | 20 | 50 |
A | A1 | 20 | 50 |
B | B1 | 20 | 40 |
B | B1 | 20 | 40 |
C | C1 | 10 | 20 |
C | C1 | 10 | 20 |
Thanks in advance
Solved! Go to Solution.
Hi @jay_patel ,
You can create a column using this code:-
output =
CALCULATE (
SUM ( category_table[Total] ),
ALL ( category_table ),
category_table[Mater Category ] = EARLIER ( category_table[Mater Category ] )
)
Output:-
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @jay_patel ,
You can create a column using this code:-
output =
CALCULATE (
SUM ( category_table[Total] ),
ALL ( category_table ),
category_table[Mater Category ] = EARLIER ( category_table[Mater Category ] )
)
Output:-
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
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 |
---|---|
107 | |
96 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |