Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello everyone,
I have two problems, on one side, im trying to see the % os sales a shop has regarding to is category, but i cant seem to do it nor with visualization options nor Dax (clearly not an expert) and as of right now I can only display the % of sales regarding the total, as seen in the picture below:
On the other hand, when I select an specific shop, it filters another category graph that I have, highlighting the corresponding amount of sales of that shop within the category, but it shows the actual amount of sales, while once again I would like to see the % within the specific category (see picture below):
I tried creating the measure : Calculate(sum(sales),all(category)) but it didnt seem to work.
thank you on advance!
Solved! Go to Solution.
@Anonymous , assume you have measure sales a new measure
calculate([sales], filter(allselected(Table), Table[Category] =max(Table[Category]) ) )
or
calculate([sales], filter(all(Table), Table[Category] =max(Table[Category]) ) )
@Anonymous , assume you have measure sales a new measure
calculate([sales], filter(allselected(Table), Table[Category] =max(Table[Category]) ) )
or
calculate([sales], filter(all(Table), Table[Category] =max(Table[Category]) ) )
Managed to to the trick by then dividing the sales measure by the category measure you gave me nad then creating a tooltip for the graph.
Final showing:
Thank you very much!
It does do the add up by category but I still dont know how to see the % of sales of the shop within their category (excuse the previous reply)
User | Count |
---|---|
98 | |
90 | |
77 | |
71 | |
64 |
User | Count |
---|---|
114 | |
98 | |
96 | |
68 | |
67 |