cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pan Frequent Visitor
Frequent Visitor

MIN/MAX with dates and measures

Hi! I'm working on data for multiple years and I want to return the month when the target is reached. 
Screenshot (6).png
I am for the most part working with measures so referencing them in the MINX formula is tricky. What I'm thinking is to calculate a table or summarize the result of the ratios (computed with the MINS measure) by year and get the minimum ratio per year, and return the corresponding date but I don't know how to do that Smiley Sad Here is the file for anyone who wants to help. https://drive.google.com/file/d/1PnaHIDRKaQ_musoJU8iEwYhEbBLh-roi/view?usp=sharing

3 REPLIES 3
Community Support Team
Community Support Team

Re: MIN/MAX with dates and measures

HI @pan,

 

Based on test, I think the issue related to your target measure, it not support auto drill to next hierarchy level to get the specific. If you not add month as row label, it only calculate on year level.

 

Regards,

Xiaoxin Sheng

 

Community Support Team _ Xiaoxin Sheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



For learning resources/Release notes, please visit: | |
pan Frequent Visitor
Frequent Visitor

Re: MIN/MAX with dates and measures

Hi! Thank you for your response! So would the best way to get around this is add a month column that's not from the Date Table and insert it as a filter?

Community Support Team
Community Support Team

Re: MIN/MAX with dates and measures

Hi @pan,

 

Yes, I also consider about this scenario.
Not add month : formula not works on current records;

Add column: measure will expand lots of invalid data.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



For learning resources/Release notes, please visit: | |

Helpful resources

Announcements
Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Kudoed Authors
Users Online
Currently online: 300 members 3,714 guests
Please welcome our newest community members: