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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
SteelChampzz
Helper II
Helper II

How to create a measure for Goal Total Amount for each Month

I have a table that has Goals for each month:

SteelChampzz_0-1664472135333.png

when I try to put this information into a line/bar chart it gives me either COUNT of SUM the amounts together, and not indiviually.

Which in turn makes the visual look like this:

SteelChampzz_1-1664472335954.png

 Is there a measure I can create to have the Totals for each month reflex the amount for that month?

Help is greatly appreciate!

 

1 ACCEPTED SOLUTION

@SteelChampzz 100% bet that you are using Month from your DimCal table and since the cross-filter direction is not Both it is not actually filtering your goal table. Just use Month from your goal table and you're good. 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

7 REPLIES 7
Greg_Deckler
Super User
Super User

@SteelChampzz So is your visual configured with those two columns in it or are the columns coming from a different table (like a date table)? Maybe missing a relationship?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

It's configured with just these two columns in a table, No dates are attached to the table

@SteelChampzz Somethings not correct, see attached PBIX below signature.

Greg_Deckler_0-1664473583899.png

 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

The only relationship that is created is to the "Dimdate" table. "Month" relationship.

SteelChampzz_0-1664473050683.png

 

@SteelChampzz 100% bet that you are using Month from your DimCal table and since the cross-filter direction is not Both it is not actually filtering your goal table. Just use Month from your goal table and you're good. 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Greg THANK YOU!

I've been banging my head against the wall with this. You're Awesome!

@SteelChampzz Happens!! 🙂


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.