Forum Discussion

AC2982's avatar
AC2982
New Member
5 years ago

Sometimes Incorrect Sum

Hi -- I am building a PowerBI dashboard for an HIV program and I've run into an issue with a calculated measure (see formula below).  When I use this measure in a guage or multi-row card, the totals are correct.  But when I put this measure into a graph, the total are off.  I cannot figure out why.  The data are structured really simply in a single column for daily targets and their associated date.  Ive got the date linked up to another date table so I can include a date slicer.  But again... it is working on the guage and multi-row card.  What am I missing??

 

calculate(sum('HIV Tx Targets'[tx_new]), USERELATIONSHIP('HIV Tx Targets'[date], Dates[date]))

5 Replies