Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have the follwoing table which a fact table but I have reduced the number of columns here.
The goal is to have the calculated columne "Calculated country name" which does the follwoing:
If the number of manufacturers are less than 3 for a selected year in the filter, the column should evlaute the consition for selected year and selected year -1 ,if number of manufactres is less than 3, if yes , "Others", else "Country name".
for example, if 2023 is slected, it evaulated the coniditon for 2023 and 2022 , gives the results.
2024 is sleeected, it evaluated for 2024 and 2023.
the below formula is working if hardcoded but not when applied selected filters. kindly help
Country | Product name | No.of.Manufacturers | Calculated country name | |
India | Trolley | 1 | 2022 | Others |
Malasyia | Frame | 2 | 2022 | Others |
India | Trolley | 4 | 2023 | Others |
Malasyia | Frame | 4 | 2023 | Others |
India | Trolley | 5 | 2024 | India |
Malasyia | Frame | 6 | 2024 | Malasyia |
Solved! Go to Solution.
Hi @ishwariya11195 - can you please check the below measure based on selected filter, hope it works.
I hope this works.
Proud to be a Super User! | |
Hi @ishwariya11195 - can you please check the below measure based on selected filter, hope it works.
I hope this works.
Proud to be a Super User! | |
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
59 | |
53 | |
52 | |
36 | |
33 |
User | Count |
---|---|
80 | |
73 | |
45 | |
45 | |
43 |