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.
hi
have a report with Brands such as Bikes, motorbikes, helmets, clothing and boots, and their revenues and items sold per period.
Now i have created a table with for each of these topics one column, but i only want to see the numbers for Bikes and motorbikes and i want to group the rest in 1 column called "Others".
Ex. Date 20180103 Brand=Helmets, sold 2 items, rev=432, 20180104 Brand=Clothing, items sold 4, rev=844, 20180105 Brand=Bikes, items sold=2, rev=3255, 20180108, Brand=boots, items sold=3, rev=632, 20180109, Brand=Bikes, items sold=1, rev=4512, 20180109, Brand=boots, items sold= 5, rev=1212, 2018011, Brand=Motorbikes, items sold=1, rev=13233, 20180113 Brand=Clothing, items sold= 4, rev=829.....
So at the end i want an overview with a row Bikes and one for Motorbikes and last but not least the category Others (which is of course the total of all brands not being Bikes and/or Motorbikes)
Month Brand QTY Rev
201801 Bikes 3 7767
Motorbikes 1 13233
Other 18 3949
Thanks for your response,
m
Solved! Go to Solution.
Hi @emveha ,
just you go to edit Queris --> Query Editor --> Add Column --> Custom Column then Give Brand_new As column name
Write Bellwo formula
if [Brand] = "Bikes" then "Bikes" else if [Brand] = "Motorbikes" then "Motorbikes" else "Others"
It will ceate new column in your repot use Brand_new will give you required output.
Please mark as solutoin if this helps you thak you....
Hi @emveha ,
just you go to edit Queris --> Query Editor --> Add Column --> Custom Column then Give Brand_new As column name
Write Bellwo formula
if [Brand] = "Bikes" then "Bikes" else if [Brand] = "Motorbikes" then "Motorbikes" else "Others"
It will ceate new column in your repot use Brand_new will give you required output.
Please mark as solutoin if this helps you thak you....
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 |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |