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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
marvicf
Frequent Visitor

hide measure total

Dear All,

I have a measure dividing two columns by each other -

DIVIDE('Table1'[ColumnA],'Table2'[ColumnA])

Is there a way to hide the total for this measure. The total is not correct.

Thanks.

Regards

1 ACCEPTED SOLUTION
Floriankx
Solution Sage
Solution Sage

Hello,

 

you can use:

 

MeasureToDisplay=IF(HASONVALUE([ColumnOfTotal],[Measure],BLANK())

 

ColumnsOfTotal is the Column you want to show the single value but not the Total for.

 

Best regards.

View solution in original post

4 REPLIES 4
Floriankx
Solution Sage
Solution Sage

Hello,

 

you can use:

 

MeasureToDisplay=IF(HASONVALUE([ColumnOfTotal],[Measure],BLANK())

 

ColumnsOfTotal is the Column you want to show the single value but not the Total for.

 

Best regards.

Anonymous
Not applicable

By using HASONEVALUE function, the total is working properly but row level calculation is not working it shows blank but it shows value -

 

Code - 

 

IF(

     HASONEVALUE ('jci fact_VoucherGL'[VoucherDate])

         ,CALCULATE(

                         LEFT(

                                 max('jci fact_VoucherGL'[VoucherDate])

                         ,10)

        ,FILTER('jci fact_VoucherGL',[UR_NextYear]=0)

        ,FILTER('jci fact_VoucherGL',[UR_NextYear]=BLANK())

   ),BLANK())

Hi,

Thanks for your reply.

The column has more than one value. I just don't want it's total to show.

Thanks.

Stachu
Community Champion
Community Champion

rather than creating calculated column I'd recommend creating calculated measure
Ratio = DIVIDE(SUM('Table1'[ColumnA]),SUM('Table2'[ColumnA]))
this syntax doesn't make sense as calculated column, but will give correct ratio on aggregated level



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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