I'm currently having trouble building a measure that is a count of consectuive negative values to find the maximum downside exposure.
I attempted to use the earlier function but it seems that there was problem using it.
I tried this: Measure = Calculate(Countrows(table1),Filter(table1,earlier(table1[prices]<0)) but it seems to require an intial row context.
Read this post to get your answer quickly. https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Proud to be a Datanaut! Appreciate your Kudos Feel free to email me with any of your BI needs.
Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.
We spoke with Power BI Super User, Greg Deckler, about his charity work
Continue your learning in our online communities.