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
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
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.