Forum Discussion
Arjun_reddy
Helper I
3 years agodax query
Hi Community team, I need you help on build dax query for second largest retail channel on total sales I am sharing the code for first largest retail channel on total sales 1largest_TotalCha...
- 3 years ago
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
https://1drv.ms/u/s!AiUZ0Ws7G26RihMKgrmog1QqoECj?e=OQNfR6
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Ahmedx
Super User
3 years agoShare sample pbix file to help you.
Arjun_reddy
Helper I
3 years agoPlease find the below data table
| category | year | sales |
| chairs | 2021 | 5000 |
| tables | 2021 | 6000 |
| bulbs | 2022 | 6000 |
| sofa | 2022 | 4500 |
| chairs | 2022 | 8000 |
| chairs | 2021 | 6000 |
| chairs | 2021 | 2800 |
| sofa | 2022 | 4700 |
| bulbs | 2022 | 2000 |
| sofa | 2021 | 5500 |
| tables | 2021 | 6000 |
| tables | 2022 | 3400 |
| bulbs | 2021 | 4000 |
- Ahmedx3 years ago
Super User
you can show what result you expect
- Arjun_reddy3 years ago
Helper I
result should be have as mentioned rounded yellow color in snap
- Ahmedx3 years ago
Super User
Is this what you are looking for?