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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Dax for smiliar function in power bi for over spotfire function

Hi Team, 

 

Anyone know which function in Powerbi is similar to "Over function in spotfire" ? in power bi which is the similar function or dax for this (Max(RowId()) OVER ([SFU_MATL_ID],[FPC_ID],[FY_MTH_ID]). Could u please help on this dax

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , as long as you want display these three in UI [SFU_MATL_ID],[FPC_ID],[FY_MTH_ID] (column) , max(Table[RowID])  will do

 

else max of max

 

maxx(summarize(Table, [SFU_MATL_ID],[FPC_ID],[FY_MTH_ID], "_1", max(Table[RowID])),[_1])

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
Anonymous
Not applicable

Hi Amit,

 

in Spot fire reports they are using this calculation (Max(RowId()) OVER ([SFU_MATL_ID],[FPC_ID],[FY_MTH_ID]

 

but i need dax in power bi, how can i write dax for above calculation in power bi? could you please provide dax for above calculation in power bi..im not using above calculation in UI level but using in power bi dax

 

or 

spotfire calculation: If(Max(RowId()) OVER ([SFU_MATL_ID],[FPC_ID],[FY_MTH_ID])=RowId(),
Max([MRP_AVAIL_USD_AMT]) OVER ([SFU_MATL_ID],[FPC_ID],[FY_MTH_ID]),
null)

 

required dax in power bi...

@Anonymous , if rowid in the incremental column given by sport fire then add index column in power query else use rowid (if it is column)

 

Try a new column  DAX: https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi

 

if( [index] = maxx(filter(Table, [SFU_MATL_ID] = max([SFU_MATL_ID]) && [FY_MTH_ID] =max([FY_MTH_ID]) && [FPC_ID] =max(FPC_ID) ), [index]) ,Max([MRP_AVAIL_USD_AMT]),blank())

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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