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
xRTP
Helper V
Helper V

Get the count of recent transaction

Hello,

 

I've created a new column to get all the recent transaction on Received Date, and drag that to values are but it supposed to show only 18 transactions 10 to adhoc and 8 to onshore. 

CANew Volume =
CALCULATE(
MAX('CA Mailbox'[Received Date]),
FILTER(ALL('CA Mailbox'), 'CA Mailbox'[Received Date] = EARLIER('CA Mailbox'[Received Date])
))

xRTP_0-1655913393538.png

 

2 REPLIES 2
v-luwang-msft
Community Support
Community Support

HI @xRTP ,


Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.

Best Regards
Lucien

Anonymous
Not applicable

Try using RANKX DAX
Something Like this.

CANew Volume =
RANKX(ALLSELECTED(CANew Volume[CA Mailbox'[Received Date]), CALCULATE(MAX(CA Mailbox'[Received Date])))
And in visual filters, filter down CANew Volume to 1(Rank)

Please let me know if this works.
Thank You

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.