Forum Discussion

NRF95's avatar
NRF95
New Member
7 months ago
Solved

DAX Measure Optimization - Please help

Hi All.   Could you please help me optimize this measure, the goal is an optimized version of this measure that improves performance while maintaining the same calculation logic:   Measure to be ...
  • NRF95's avatar
    NRF95
    7 months ago

    Hi Sir, Thank you for your reply! There is indeed a relationship between DimKPI and FactProductivity via key "KPIKey". However, when I use the version that you suggested I received the following error "A single value for column 'KPIKey' in table 'DimKPI' cannot be determined. This can happen when a measure or function formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result."

    This is fine though, I will use the TRETAS measure that you confirmed is definitely the best alternative to the original measure. Thanks a lot again!