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.
Hi everyone.need help.please check the attached image,if i select particular then that month should display,if i select multiple months then those months should display and remaining months should ot be visible.
Solved! Go to Solution.
Hi @Anonymous ,
What is the structure of your data? I guess it may be like "Table 1". If so, please try to select "Product" column and UnPivot other columns, to transform to "Table 2".
Table 1:
Product | Jan | Feb | Mar | ... |
Product1 | 123 | 234 | 345 | ... |
Product2 | 123 | 234 | 345 | ... |
... | ... | ... | ... | ... |
Table 2:
Product | Attribute | Value |
Product1 | Jan | 123 |
Product1 | Feb | 234 |
Product1 | Mar | 345 |
... | ... | ... |
Product2 | Jan | 123 |
Product2 | Feb | 234 |
Product2 | Mar | 345 |
... | ... | ... |
Then, rename the columns from "Attribute" to "Month" and "Close and Apply".
In Data view, it is suggested to create a Date dimension table and then create relationships between your fact table and the Date dimension table. Of course, you can also not create a date table if your model is simple and you don't want to create one.
After that, just one measure is needed to create and it can also be filtered by the Month column. Also, the result will be what you want.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
What is the structure of your data? I guess it may be like "Table 1". If so, please try to select "Product" column and UnPivot other columns, to transform to "Table 2".
Table 1:
Product | Jan | Feb | Mar | ... |
Product1 | 123 | 234 | 345 | ... |
Product2 | 123 | 234 | 345 | ... |
... | ... | ... | ... | ... |
Table 2:
Product | Attribute | Value |
Product1 | Jan | 123 |
Product1 | Feb | 234 |
Product1 | Mar | 345 |
... | ... | ... |
Product2 | Jan | 123 |
Product2 | Feb | 234 |
Product2 | Mar | 345 |
... | ... | ... |
Then, rename the columns from "Attribute" to "Month" and "Close and Apply".
In Data view, it is suggested to create a Date dimension table and then create relationships between your fact table and the Date dimension table. Of course, you can also not create a date table if your model is simple and you don't want to create one.
After that, just one measure is needed to create and it can also be filtered by the Month column. Also, the result will be what you want.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
72 | |
71 | |
55 | |
37 | |
31 |
User | Count |
---|---|
89 | |
62 | |
61 | |
49 | |
45 |