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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
pablofigueira
Frequent Visitor

Last Year Vs Actual Months

Hi,

 

How can I make something like this? ( example below)

I need to have one column (last year) and months (this year) on same matrix. 

I´ve tried many things, with no result.

 

Thanks for help

 

pablofigueira_0-1684341356432.png

 

Pablo

1 ACCEPTED SOLUTION
BiNavPete
Resolver III
Resolver III

Hi @pablofigueira 

I answered a post with a similar solution here the other day.

The problem is not having a dimension column with just what you want. So you need to build a disconnected table with the headers on it and add a Measure using SWITCH logic.

Have a look at the other post and if it makes sense, fine. If not then please post a sample PBIX and I'll wotk it through.

 

Pete
Web: https://binavigation.com
Linked In: https://www.linkedin.com/in/pete-smith-955b73181

View solution in original post

1 REPLY 1
BiNavPete
Resolver III
Resolver III

Hi @pablofigueira 

I answered a post with a similar solution here the other day.

The problem is not having a dimension column with just what you want. So you need to build a disconnected table with the headers on it and add a Measure using SWITCH logic.

Have a look at the other post and if it makes sense, fine. If not then please post a sample PBIX and I'll wotk it through.

 

Pete
Web: https://binavigation.com
Linked In: https://www.linkedin.com/in/pete-smith-955b73181

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.