Forum Discussion

2 Replies

  • UNIheve's avatar
    UNIheve
    Frequent Visitor

    lbendlin Thanks. I will vote 🙂

     

    Cause yes, it is important.
    I query multiple SSAS cubes (dev-test-prod) automatically via users acceptance criteria, that is, some values from measures, that the user states as correct in a certain filter context.
    From the users input in validated Excel sheets, DAX evaluation strings are constructed to return a calculatede value like  DEFINE var a = CALCULATE ( <meausure>, <filtercontext> ) EVALUATE {a}. The calculated value is then compared with the expected value.
    If the measure eg. is not yet in production, I dont want the evaluation to fail.
    Not being able to error handle, I must load and join with all measure metadata from all cubes (20 at the moment) to test if the measure is present.