Forum Discussion

benP's avatar
benP
Frequent Visitor
7 years ago
Solved

Total showing as blank

I Have the following measure: 

 

Sum of Top Performers Consumption =
CALCULATE (
SUM( 'Billing Data'[Consumption (kWh)] ),
FILTER ( 'Billing Data', SUM('Billing Data' [Fifteenth Percentile Variance]) > 0 )
)
 
This works and shows the correct data in a tabular view. However if I either turn the totals on for that table or sum it in a card visual it is showing as blank.
 
Anyone have any similar experiences?
 
Thanks,
Ben 
  • Hi benP ,

    I reproduced your question and met the same issue. In your measure, ‘SUM('Billing Data' [Fifteenth Percentile Variance]) > 0’ returns a logical value. And ‘False’ is not calculated by default. So, the corresponding values are blank.

    You can change your measure like below and then the issue can be solved.

    Sum of Top Performers Consumption 2 =
    CALCULATE (
        SUM ( 'Billing Data'[Consumption (kWh)] ),
        FILTER ( 'Billing Data', 'Billing Data'[Fifteenth Percentile Variance] > 0 )
    )

    Best Regards,

    Icey

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

1 Reply

  • Icey's avatar
    Icey
    Icon for Community Support rankCommunity Support

    Hi benP ,

    I reproduced your question and met the same issue. In your measure, ‘SUM('Billing Data' [Fifteenth Percentile Variance]) > 0’ returns a logical value. And ‘False’ is not calculated by default. So, the corresponding values are blank.

    You can change your measure like below and then the issue can be solved.

    Sum of Top Performers Consumption 2 =
    CALCULATE (
        SUM ( 'Billing Data'[Consumption (kWh)] ),
        FILTER ( 'Billing Data', 'Billing Data'[Fifteenth Percentile Variance] > 0 )
    )

    Best Regards,

    Icey

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.