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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
nasolme
Helper I
Helper I

hide subtotal

Hi community !

I would like to keep only the grand total for "Loan" columns. 

I can use :

IF(HASONEVALUE(ASSET[ASSET_NUMBER]),blank(),sumx(SUMMARIZE(DATA,DATA[FILE_NUMBER],"average",average(DATA[ENCOURS.MT_EXPO_BRUT_Engagements])),[average]))

 

But logically, i get blank row  when i have only one asset number.


Somebody has an idea to correct my measure ?

 

Capture d’écran 2022-04-27 130400.jpg

 

 

1 ACCEPTED SOLUTION
SpartaBI
Community Champion
Community Champion

@nasolme 
IF(ISINSCOPE(ASSET[ASSET_NUMBER]),blank(),sumx(SUMMARIZE(DATA,DATA[FILE_NUMBER],"average",average(DATA[ENCOURS.MT_EXPO_BRUT_Engagements])),[average]))

View solution in original post

2 REPLIES 2
nasolme
Helper I
Helper I

I didn't know this function. Thanks @SpartaBI  !!!

SpartaBI
Community Champion
Community Champion

@nasolme 
IF(ISINSCOPE(ASSET[ASSET_NUMBER]),blank(),sumx(SUMMARIZE(DATA,DATA[FILE_NUMBER],"average",average(DATA[ENCOURS.MT_EXPO_BRUT_Engagements])),[average]))

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.