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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Marke525
Frequent Visitor

Create Measures tutorial not working

I am trying to follow the tutorial and have come across this problem:  In the tutorial a matrix table is created like this:

Marke525_0-1594675251829.png

 

It is revenue over month and year.  When I create the table and add revenue, it does this:

 

Marke525_1-1594675332964.png

 

How do I get it to show the data by month and year, instead of lumping it all into a single sum.  I have no filters on, I've only placed MonthName in the rows box, Year in the columns box and Revenue in the values box.

 

Any suggestions?

 

 

 

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

Thanks for providing the pbix file.  The issue is that the Date column in your date table only has the month and day (no year).  If you make the relationship to the Date2 column instead, and make sure both the Date2 in the Date table and Date column in your Sales table both have data type Date, your visual will work correctly.  One of those two columns was text format, so needed to be changed.

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

4 REPLIES 4
mahoneypat
Microsoft Employee
Microsoft Employee

Thanks for providing the pbix file.  The issue is that the Date column in your date table only has the month and day (no year).  If you make the relationship to the Date2 column instead, and make sure both the Date2 in the Date table and Date column in your Sales table both have data type Date, your visual will work correctly.  One of those two columns was text format, so needed to be changed.

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


That was perfect, well explained advice.  Thank you for your help, I really appreciate it.

jdbuchanan71
Super User
Super User

That looks like a bad join between Sales and Dates.  Can you share your .pbix file?  Upload it to OneDrive or DropBox and share the link here.

Thanks for the response.  Here is the link to the pbix file:  https://1drv.ms/u/s!AmbVtuwcY2bdggOtRnM-cxJerROb?e=MXpXOm

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors