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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
knut12212
New Member

Insert values in a matrix by using a measure

Hey guys,

does someone know what's wrong with my measure?

I would like to create a measure that looks at the date per line and then enters a number in the respective month. For the date of PM040, 40 should then be entered. Bid should be entered for Bid. CS should be entered for CS Bid. For OI then OI.

However, currently only the 40 is only entered.

knut12212_1-1743670261267.pngknut12212_2-1743670280984.png

 

1 ACCEPTED SOLUTION
v-nmadadi-msft
Community Support
Community Support

Hi @knut12212,

Thank you for reaching out to the Microsoft Community Forum.

 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.

 

 

If my response has resolved your query, please mark it as the Accepted Solution to assist others. Additionally, a 'Kudos' would be appreciated if you found my response helpful.

 

Thank you

View solution in original post

8 REPLIES 8
v-dineshya
Community Support
Community Support

Hi @knut12212 ,

Thank you for reaching out to the Microsoft Community Forum.

 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.

 

 

If my response has resolved your query, please mark it as the Accepted Solution to assist others. Additionally, a 'Kudos' would be appreciated if you found my response helpful.

 

Thank you

v-dineshya
Community Support
Community Support

Hi @knut12212 ,

Thank you for reaching out to the Microsoft Community Forum.

 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.

 

 

If my response has resolved your query, please mark it as the Accepted Solution to assist others. Additionally, a 'Kudos' would be appreciated if you found my response helpful.

 

Thank you

v-nmadadi-msft
Community Support
Community Support

Hi @knut12212,

Thank you for reaching out to the Microsoft Community Forum.

 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.

 

 

If my response has resolved your query, please mark it as the Accepted Solution to assist others. Additionally, a 'Kudos' would be appreciated if you found my response helpful.

 

Thank you

sjoerdvn
Super User
Super User

That "Start of the Month" column, how is that defined? Is it a Calendar table column? Is the same value for all days in a month? Also, you what do you want to display if approval/bid submission/cs bi submission happen in the same month.
The measure code as text, and some test data would also be nice.
Like I mentioned earlier, any solution will include CALCULATE and USERELATIONSHIP. But since the two tables here are joined on Date, there is no need for the bulky expressions used here.

leo124
New Member

Only the first relationship is active. However, the other ones cannot be switched to an active relationship as this error occurs.

leo124_1-1743679934242.png

 

leo124
New Member

leo124_0-1743679425187.png

Yes, there is

leo124
New Member

What kind of additional information do you need? I will provide it then

sjoerdvn
Super User
Super User

With the information you are providing it is hard to say what is going on here, but my guess is there is an active relationship between 'CRM - Fokusdaten'[Bid Aaproval (PM040)]
and the 'Calendar' table, and no relationships or inactive relationships between 'Calendar' and 'CRM - Fokusdaten'[Bid Submission Date], 'CRM - Fokusdaten'[CS Bid Submission Date].
If that is the case, using CALCULATE and USERELATIONSHIP could help here.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.