Forum Discussion

JoseSugaharaAlv's avatar
JoseSugaharaAlv
New Member
2 years ago

Max value with filters

Hey all!

 

I am trying to get the max value from a column, but I want to use filters:

 

Because the third line has no entries in August it's returning July, but I need for it in this example to return August.

 

I have this table, with the columns, Date, Category and Number of service call:

 

And I want to make a table that has:

 


This month and should be the latest month on the filter regardless if there are any service calls for this category this month, Last month should be This month -1.

 

I am using max, but if I select two or more months the categories that have no Calls in one month will have a This month value different.

 

I am also not able to create tables os columns, just measures on Power BI Desktop.

 

Thanks for the help!

 

1 Reply