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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
vkisa
Helper II
Helper II

Measure is Turning Blank on Table

Hi, 

 

I can calculate the diagonal values according to 2 different dates, but my aim is that create this measure for a matrix with row "customer" and one of the dates.

 

Here is the sample data,

 

StartYearStartMonthCalcYearCalcMonthCustomerfixedfee
20231202311000.00
20231202321000.00
20231202331000.00
20231202341000.00
20231202361000.00
202312023710041.07
2023120238100115.93
202312023910062.23
20233202331000.00
20233202341000.00
20233202361000.00
202332023710041.07
202332023810057.97
20235202351000.00
2023520231110077.95
20236202361000.00
202362023710082.13
20236202312100100.88
2023620241100131.92
20237202371001,190.93
2023720238100289.83
2023720239100248.93
20237202310100329.81
20237202311100155.91
20237202312100403.53
2023720241100263.85
20238202381001,681.03
2023820239100622.33
20238202310100329.81
20238202311100311.82
20238202312100201.76
2023820241100263.85
20239202391001,867.00
20239202310100593.65
2023920231110077.95
20239202312100302.65
2023920241100131.92
2023102023101001,715.00
202310202311100467.73
202310202312100201.76
20231020241100131.92
2023112023111001,715.00
202311202312100201.76
20231120241100395.77
2023122023121001,715.00
20231220241100263.85

 

The measure that calculates the diagonal values below, turns blank on the matrix when "customer" is on row and "calcdate" is on column,

 

 

FF_Agg = 
 VAR startyear=SELECTEDVALUE(table[StartYear])
 VAR startmonth=SELECTEDVALUE(table[StartMonth])
RETURN
 CALCULATE (
    SUM(table[FixedFee]),
    FILTER(table,startyear=table[CalcYear] && startmonth=table[CalcMonth])
)

 

 

It will be dynamic table under the date filters so, I need a measure instead of calculated table, my aim matrix to reach out,

 

 CalcYear2023           
CustomerCalcMonth 123456789101112
100 001000100100119016811867171517151715

 

Thank you,

 

Veli

 

2 REPLIES 2
Anonymous
Not applicable

Hi @vkisa ,
You seem to be trying to calculate the diagonal values of a matrix where the rows represent customers and the columns represent dates. What is the result you expect to arrive at, and are the blank values of the matrix also shown? Can you clarify your question or provide more information about what you are trying to accomplish?

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Ada Wang

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

I've updated the post, the measure that I have tried is working when when two dates and customer are included on the table, but I need a matrix with customer is on roe and calcyear/month is on column. 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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