Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
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", "-" )
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.