The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Good afternoon Community,
I have a connundrum that I wanted some help with 🙂
I have a simple list of turnover by account 2022. What I would like to do is create a measure that sums the total turnover by account and give them a category based on total turnover as follows:
Group 1 'Std' - <£5k
Group 2 'Progressive' - >£5k <£25k
Group 3 'Target' - >£25k <£50k
Group 4 'Allaince' - >£50k <£150k
Group 5 'Prime' - >£150k
My aim is to then put this data in a map using the above data as the legend:
Any ideas here wouyld be greatly appriciated 🙂
Hi,
Its straight forward.
First create buckets in calculated column to capture category by using nested if. There you get group 1,2,3, etc according to your needs.
Now drag and drop turnover in values and maps with location and legends as this calculated column.
Hope its clear and kindly mark it as solution
Thank you for the response, please correct me where I am wrong, I'm new to this functionality, your help is greatly appriciated 🙂 from the below I am not getting the desired result!
I should be seeing more colours on the map?
I've also tried this but same results:
Hi,
Thats perfect. And your results are correct. I see different color in maps. Check deeply, you see legends with different colors, but data is more for blue. You can obserev 1 or 2 orange color spots too. So its working.
Kindly mark as solution , as this would support our community.
The issue I can see is that I have accounts with large turnovers but this group is no where to be seen, for example the biggest account is >750,000 but this isnt reflected in the map, ideally I would want only one colour to represent the final figure?
I created a group >150k and this should be visible on the above account
Dear I believe for the same location , there may be different account codes having more categories.
Thats the reason you see 3 color for same location.
Can you bring location in table along with account code and turnover, this would conclude and solve your use case
Here is a measure I have been working on:
When I create a table view, my measure is accurate but my calclulated column is incorrect:
I cannot insert my measure into the legend but when I insert the same calculated column I get the adverse results.
Here is my full table:
I've tried many many combinations but the legend remains incorrect and I cannot present the data as it not accurate enough.
Lets strip this all back and focus in on the data set, it has multiple invoice sku lines, line value represents SKU QTY x UNIT PRICE and this is done at source.
I then created a column TOTAL TURNOVER which is SUM(
Remove calculate and sum from your code which is used to create calculated column. It should work
@saravanan_p Eagle eyes. Nice observation. Good work!!.
@ajaydavidluke Hope its clear, kindly mark this as a solution
That awesome. So speedy. I was about to type the same. Congratz.
@ajaydavidluke Kindly mark it as solution , keeps the community healthy
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
21 | |
18 | |
15 | |
14 | |
13 |
User | Count |
---|---|
38 | |
34 | |
21 | |
19 | |
18 |