Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
25 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
25 | |
12 | |
11 | |
10 | |
6 |