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!
I am trying do a viz counting of # of hired made in a certain month, and then comparing it to the previous month..
I did a DAX calculation w. Parallel Period but I am getting the entire column total, versus the line by line..
Is this an issue with the relationship? Do I need to do a X function?
Pbix model is here: https://drive.google.com/file/d/1mv9DTQ7o0B61Gk-6Geo1ODh6vnWanKX9/view?usp=drive_link
Thank you in advance!!
Hannah
Solved! Go to Solution.
Hi @Anonymous ,
According to your description, here are my steps you can follow as a solution.
(1)My test data is the same as yours.
(2) We can create a measure.
# of Hires Previous Month =
var _pre=MONTH(EOMONTH(MAX('DateTable'[Date]),-1))
return CALCULATE([# of Hires],FILTER(ALL('DateTable'),MONTH('DateTable'[Date])=_pre))
(3) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
THANK YOU SO MUCH ❤️
Hi @Anonymous ,
According to your description, here are my steps you can follow as a solution.
(1)My test data is the same as yours.
(2) We can create a measure.
# of Hires Previous Month =
var _pre=MONTH(EOMONTH(MAX('DateTable'[Date]),-1))
return CALCULATE([# of Hires],FILTER(ALL('DateTable'),MONTH('DateTable'[Date])=_pre))
(3) Then the result is as follows.
Best Regards,
Neeko Tang
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 |
---|---|
77 | |
73 | |
58 | |
35 | |
31 |
User | Count |
---|---|
99 | |
57 | |
56 | |
46 | |
40 |