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 was given a solution back in February, but looking for additional options to resolve.
This is probably an easy fix, but I cannot figure out if I need a calculated column or DAX measure. I do not get the result I want when applying a filter in visual (clustered bar chart).
I have Player 'A' and Player 'B' that participated in both Year 2022 and 2023. Players 'C' only participated in 2023, while Player 'D' only particpated in 2022.
I need a filter that excludes Players 'C' and 'D' because I only want to show players that particpated in consecutive years 2022 and 2023.
Solved! Go to Solution.
pls try this
Proud to be a Super User!
pls try to create a column
Proud to be a Super User!
Thank you Ryan, it works just like it is written. I need one small edit though, If i want the max year to = 2024 which should return all blanks, how would I adjust this calculation?? Thanks!!
what do you mean by max year to 2024? if has Consecutive Years until 2024, then all be blank?
could you pls update the sample data and expected output?
Proud to be a Super User!
Hello Ryan, I went in and added Year 2024 for Player A, Player C, and Player D. Now in visual, Player A, B, and C are showing. Because the way the column is written, Player B shows up because of the year 2023 and 2022. Since the current year is 2024, I only want Player A and Player C to show up on chart. I was wondering what next step would be to adjust your column you created? I hope I explained well...
pls try this
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 |
---|---|
79 | |
73 | |
58 | |
36 | |
32 |
User | Count |
---|---|
90 | |
60 | |
60 | |
49 | |
45 |