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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
tbezui3
Frequent Visitor

Calculation Fixed:MAX

Good day 

What can we use in powerbi to get the same result as In tableau when we use the below? 
I added a before and after I run the calculation in tableau. I also added a screen shot of the background data 
There is no need to split the date like in tableau, the date can be in one column with time in powerbi

 

Tableau calculation

[Calldate]={ FIXED [uniqueidentifier]:MAX([Calldate])}

This is the background data

tbezui3_0-1646990438562.png


Before 

tbezui3_1-1646990886254.png


After calculation 

tbezui3_2-1646990917242.png

 

note the last date entry

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @tbezui3 ;

As before:

we could add matrix visual. then create a hour column.

hour = HOUR([F2])

vyalanwumsft_0-1647321374242.png

As after:

We could create a measure to calculate the count.

Count = CALCULATE(COUNT('Table'[F2]),FILTER('Table',HOUR([F2])=HOUR(MAX([F2]))))

Then add a table visual.

vyalanwumsft_1-1647321669580.png


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

View solution in original post

3 REPLIES 3
v-yalanwu-msft
Community Support
Community Support

Hi, @tbezui3 ;

As before:

we could add matrix visual. then create a hour column.

hour = HOUR([F2])

vyalanwumsft_0-1647321374242.png

As after:

We could create a measure to calculate the count.

Count = CALCULATE(COUNT('Table'[F2]),FILTER('Table',HOUR([F2])=HOUR(MAX([F2]))))

Then add a table visual.

vyalanwumsft_1-1647321669580.png


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

tbezui3
Frequent Visitor

looks like I'm not getting it

tbezui3_2-1647240305831.png

 

tbezui3_3-1647240393334.png

 

amitchandak
Super User
Super User

@tbezui3 ,

calculate(MAX([Calldate]), allexcept(Table, table[uniqueidentifier]) )

 

If uniqueidentifier is from a dimension then also use the table or fact

 

calculate(MAX(fact[Calldate]), allexcept(fact, Dim[uniqueidentifier]) )

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.