cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
irfanelevated
Helper II
Helper II

Amount for MIN Date

Hi,

Below is my calculation It is giving the correct number except for populating to a single cell-

 

MIN =
Var mind=CALCULATE(MIN(final[TweetDate]),ALLEXCEPT(final, final[Created_At], final[From_User_Name], final[TickerName]))
return
CALCULATE(MAX(final[CloseAmt]), final[TweetDate]=mind)
 
 

Capture.PNG

 
 Could you please help me to display the number in all cells?
 
Any help would be appreciated.
 
Thanks,
Irfan
5 REPLIES 5
v-lionel-msft
Community Support
Community Support

Hi @irfanelevated ,

 

Are they the same problem?

Max and Min Value for each week 

 

Best regards,
Lionel Chen

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

mahoneypat
Super User IV
Super User IV

Try adding your Week column (the columns in visual) to your ALLEXCEPT.

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Hi @mahoneypat ,

 

I have added the field but still not showing it Capture.PNGto all columns.

 

Can you share an example table with mock data? or better yet a link to a mock up of your pbix file?  If not, is your Created-at column a datetime column?  You may not be removing filters from all the right columns.  Try starting with just ALL and then add columns to AllEXCEPT one by one to troubleshoot.

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


amitchandak
Super User IV
Super User IV

@irfanelevated , In var you need column of week in allexcept



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors