Forum Discussion

szmaya's avatar
szmaya
New Member
1 year ago
Solved

Power BI measure Total issue

Hi everyone, I need help creating a measure in power bi for a matrix table that's categorized by brand and store. It has three columns the first one contatins the number of found products in the sto...
  • szmaya's avatar
    1 year ago

    Thank you both!
    This was the correct answer at the end:

    Teljesülés =
    SUMX (
    SUMMARIZE('FACT_Jelenlét','DIM_Bolttörzs'[Bolt kód], 'FACT_Jelenlét Márka'[Márka] ),
    VAR Found =  [Cikkek száma]
    VAR Required = [SUM_Elvárt jelenlét]
    RETURN
    IF (
    NOT ISBLANK ( Found ) && Found >= Required,
    1, 0 )
    )