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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
Employee

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
Super User

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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