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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors