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 Team,
I have column like month, keyword name from this I want to fetch common keyword arrival and new keyword arrival as compare to previous month.
how to do this in power bi dax.
Thanks,
Arvind
Solved! Go to Solution.
there could be a few ways of doing this, depending on the nuances that i am not aware of, however this should give you a flavour of how you can do it.
here is the code and i attach the pbix. let me know if you have any questions
just to note that i converted your month value to a date value
Proud to be a Super User!
can you provide some sample data with an example of what you are expecting?
Proud to be a Super User!
Hi @vanessafvg ,
Please find the table.
Input | Output | ||||
Month | keyword | Month | Keyword | Common/New | |
Oct | A | Nov | A | Common | |
Oct | B | Nov | B | Common | |
Oct | C | Nov | C | Common | |
Oct | D | Nov | D | Common | |
Oct | E | Nov | X | New | |
Oct | F | Nov | Y | New | |
Oct | G | ||||
Nov | A | ||||
Nov | B | ||||
Nov | C | ||||
Nov | D | ||||
Nov | X | ||||
Nov | Y |
Thanks,
Arvind
there could be a few ways of doing this, depending on the nuances that i am not aware of, however this should give you a flavour of how you can do it.
here is the code and i attach the pbix. let me know if you have any questions
just to note that i converted your month value to a date value
Proud to be a Super User!
are you only ever only looking at the previous month, or are you looking at all previous months?
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 | |
78 | |
59 | |
36 | |
33 |
User | Count |
---|---|
98 | |
62 | |
56 | |
49 | |
41 |