Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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", "-" )
User | Count |
---|---|
21 | |
14 | |
11 | |
8 | |
5 |
User | Count |
---|---|
24 | |
22 | |
20 | |
15 | |
10 |