Forum Discussion
Grouping multiple rows in 1 based on one column value in Power BI
- Anonymous2 years ago
Hi sachingupta31 ,
Below is my table:
The following DAX might work for you:
Measure = CALCULATE( SUM('Table'[col2]), ALLEXCEPT('Table','Table'[col 1]) )The final output is shown in the following figure:
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
if the Url exactly matches, it should work. please share sample data to check.
Hi Rupak_bi PFA, sample data and output. Also, col1 is a column in a table and Col2 is measure created using below formula.
col2 Measure formula= CALCULATE(COUNT(Related Features))
please let me know if it works.
- Anonymous2 years agoNot applicable
Hi sachingupta31 ,
Below is my table:
The following DAX might work for you:
Measure = CALCULATE( SUM('Table'[col2]), ALLEXCEPT('Table','Table'[col 1]) )The final output is shown in the following figure:
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.