Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
jharv9
Frequent Visitor

Dynamic Year To Year Comparison

I'm trying to figure out how to compare TV ratings month to month in the tabular view. It won't only be month over month but it could be March 2015 compared to July 2016. I've tried to create this numerous time but I can't seem to two different dates to line across. Can someone please help with this?

1 ACCEPTED SOLUTION


@jharv9 wrote:

Ratings Variance.PNGRating Source.PNGRatings Pivot.PNG

I posted the direction I've being going above.

The view that I am aiming for is in the excel sheet screenshot.


 

In this case, you can create a program table(program = values(yourtable[programeName])) and then split the one table into two, one for History and the other for Forecast. Link split two tables to the program table via a one : one relationship(single filter direction) by the programName column. Then apply two slicer to the YearMonth of two tables.

 

Regarding the excel sheet screenshot, create 5 measures, eg. History = LASTDATE(HistoryTable[YearMonth]). And then put the ProgramName from program table and the 5 measures to a table visual.

View solution in original post

4 REPLIES 4
BhaveshPatel
Super User
Super User

Hi There,

 

Please post your sample data file and requirements for the designing of the exact solution.

 

 

Thanks & Regards,

Bhavesh

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

Ratings Variance.PNGRating Source.PNGRatings Pivot.PNG

I posted the direction I've being going above.

The view that I am aiming for is in the excel sheet screenshot.


@jharv9 wrote:

Ratings Variance.PNGRating Source.PNGRatings Pivot.PNG

I posted the direction I've being going above.

The view that I am aiming for is in the excel sheet screenshot.


 

In this case, you can create a program table(program = values(yourtable[programeName])) and then split the one table into two, one for History and the other for Forecast. Link split two tables to the program table via a one : one relationship(single filter direction) by the programName column. Then apply two slicer to the YearMonth of two tables.

 

Regarding the excel sheet screenshot, create 5 measures, eg. History = LASTDATE(HistoryTable[YearMonth]). And then put the ProgramName from program table and the 5 measures to a table visual.

Ratings Variance.PNGRating Source.PNGRatings Pivot.PNG

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.