The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi! @faiqsadiq1
Use the below m-code or dax and it should work for you.
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("bY7BEYAwCAR7yVuZC+ABtTjpvw0zal76Zed2Oc+2h0A9CsECFNq2VqLRxjbhISTqYHWGMvyGqAdS0rKrZYKWVjfsupblDiNdLdA5YQpfrf81613GX1NtaT/NnKel/TTnt2hjXA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [#"Sales per piece" = _t, #"Net Revenue" = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Sales per piece", type number}, {"Net Revenue", type number}}),
#"Added Custom" = Table.AddColumn(#"Changed Type", "Custom", each ( ( [Sales per piece] ) + [Net Revenue] ))
in
#"Added Custom"
If this doesn't work. Can you please copy-paste the data or share the sample data to have a look at your issue, I am unable to access your file.
Hey Ankit,
Thankyou for the solution.
I tried it but i was unable to find this way but then i tried group by and it worked.
Thankyou for the utmost support.
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |