cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
9192gks
Helper III
Helper III

Compare a column based on date range

Hello everyone,
I have a requirement where i need to show the comparision between SUM(Count) and their Work based on 2 date ranges.
I found this topic to be very helpful but i am unable to create a previous date measure.
https://www.sqlbi.com/articles/filtering-and-comparing-different-time-periods-with-power-bi/

I have a table like this 

requirement.PNG

Where i want compare the SUM(Count) between 2 date ranges based on this heirrarchy.Please help me to achieve the below comparision.
requirement2.PNG

1 REPLY 1
amitchandak
Super User
Super User

@9192gks 

Refer my blog on the same topic: https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!
!! Subscribe to my youtube Channel !!

Helpful resources

Announcements
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

Power BI Dev Camp Session 22 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!