Join 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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have a table like this:
Product | Totals |
Data1 | 20 |
Data2 | 10 |
Product1 | 50 |
Product2 | 100 |
How could I add the Data1 and Data2 rows together and keep it in the same Product column so it's like this:
Product | Totals |
Data | 30 |
Product1 | 50 |
Product2 | 100 |
Solved! Go to Solution.
Hi @BrianNeedsHelp an alternative approach is to create calculated column like this
Hi @BrianNeedsHelp an alternative approach is to create calculated column like this
Create a calculated column
Category = IF ( Product[Product] IN {"Data1", "Data2}, "Data", Product[Product] )
Then group this column
If this helped, please consider giving kudos and mark as a solution
@me in replies or I'll lose your thread
Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page
Consider voting this Power BI idea
Francesco Bergamaschi
MBA, M.Eng, M.Econ, Professor of BI
User | Count |
---|---|
10 | |
9 | |
7 | |
4 | |
4 |