Forum Discussion

cyclist007's avatar
cyclist007
Icon for Responsive Resident rankResponsive Resident
9 years ago

SSAS based Calculated Measure not working in Gauge against a date attribute (non-key attribute)

Hi, 

 

I am running into the following issue: A calculated measure in SSAS is only working in Power BI when plotted against the key attribute of Date dimension but not when plotted only against an attribute which is not a key.  Due to this we are not able to use this measure in plotting a gauge against an attribute of Date dimension which is not based on key attribute. This works fine when used in table visual. See attached image. Does anybody know the reason or workaround for this? Thanks

 

 

 

1 Reply

  • v-ljerr-msft's avatar
    v-ljerr-msft
    Icon for Microsoft Employee rankMicrosoft Employee

    Hi cyclist007,

     

    It seems that the calculated measure needs a specific date context for calculation. Could you post the formula of the calculated measure, so that we can help further investigate on it? :smileyhappy:

     

    Regards