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
martaredondo
Helper II
Helper II

Measure in matrix not ok

Hey all,

 

I want to present 2 measures in a matrix per month (one of the measures is a count and another a sum). I have a date table connected with my table and when I put the measures and month names in the matrix, the values are incorrect as they are not the sum for each month:

Untitled.png

Can someone jhelp me with this please?

 

Thanks,

Marta

1 ACCEPTED SOLUTION

Hey guys,

 

Thanks for your help. I already figure out what happened, I had my date table with date in the format "dd-mm-yyyy 00:00:00" but in my equipment table I had real time (example 06:08:55) so the relationship was only getting the 00:00:00 dates!

 

Hope you have a nice week,

Marta

View solution in original post

6 REPLIES 6
V-lianl-msft
Community Support
Community Support

Hi @martaredondo ,

 

Make sure that your measures use the correct filter conditions.

If the problem persists,could you please share sample data and DAX formula or sample pbix?(Please mask any sensitive data before uploading)

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hey guys,

 

Thanks for your help. I already figure out what happened, I had my date table with date in the format "dd-mm-yyyy 00:00:00" but in my equipment table I had real time (example 06:08:55) so the relationship was only getting the 00:00:00 dates!

 

Hope you have a nice week,

Marta

Hi @martaredondo ,

 

Thanks for your update. As the issue is resolved.

Please accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Super User
Super User

Could be a measure totals problem. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907


@ 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...
Anonymous
Not applicable

Hi Marta,

It seems to me that something is going wrong in the relationships.

Make sure the date table has an active relationship and that the date fields in both tables are returning the same values.

 

Kind regards
Joren Venema

Data & Analytics Consultant
If this reply solved your question be sure to mark this post as the solution to help others find the answer more easily. 

amitchandak
Super User
Super User

Join is not correct or not there  either with date table or with Equipment Table(if any)

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.