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.
Hello Users,
I need to create one custom column using Power Query / DAX
as per below images, i have one column conatins code against each item Name
in result i need one column that conatins only single line for each item (IF both item having same code)
please find below images for refrence. i need output as per shown in output snapshot.
Thanks in Advance.
Solved! Go to Solution.
Hi @Dhrutivyasa-070 you can create NEW table in Power BI as following:
Proud to be a Super User!
cobovalues =
CALCULATE(DISTINCT(code),CONCATENATE([item],"+",[item]),SUM(Qty),IF(COUNTROWS(DISTINCT(code),"Combo","-")))
Hi @Dhrutivyasa-070 you can create NEW table in Power BI as following:
Proud to be a Super User!
Thanks for the solution, it worked for me!
please try the following measures
Item (Combo) =
CONCATENATEX ( VALUES ( 'Table'[Item] ), 'Table'[Item], ", " )
Total Qty =
SUM ( 'Table'[Qty] )
Remark =
IF ( COUNTROWS ( VALUES ( 'Table'[Item] ) ) > 1, "Combo", "-" )
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 |
---|---|
47 | |
26 | |
19 | |
14 | |
10 |
User | Count |
---|---|
57 | |
49 | |
44 | |
18 | |
18 |