Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Blanks wanted

Hi All

I´m trying to get measure below to only show values for columns Uppgift and År Månad(from date table).

Budgeterad kostnad =
SUMX (
'Fördelningsnyckel',
VAR __h =
CALCULATE ( SUM('Fördelningsnyckel'[Budget]))
RETURN
__h
)
Using this I get this:

What I´m after is that the values in the red box are Blank.

Tables:
Fact_Hours
Date------------Uppgift-Namn-Anteckningar
202201211BobHi
202201121LisaHo
202201042BorisHi
 
Dim_date date relation one way to hours date
Date_____________År Månad
202201012022 Januari
202201022022 Januari
etcetc
 
Dim_Fördelningsnykel Avdelning bidirectional relation to Hours Uppgift 
Avdelning---Budget
1100000
2200000

 

Any idees?

  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Anonymous ,

     

    You could use ISINSCOPE() or ISFILTER() function.

    For example:

    Measure = IF(ISINSCOPE('Table'[Namn]),BLANK(),[Budgeterad kostnad])
    Result would be shown like below.
     
    Best Regards,
    Jay
  • Anonymous's avatar
    Anonymous
    4 years ago

    Anonymous Awsome!! that did it : ) thanks a bunch Buddy

    /Måns

3 Replies

  • Anonymous ,The information you have provided is not making the problem clear to me. Can you please explain with an example.

    Appreciate your Kudos.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

     

    You could use ISINSCOPE() or ISFILTER() function.

    For example:

    Measure = IF(ISINSCOPE('Table'[Namn]),BLANK(),[Budgeterad kostnad])
    Result would be shown like below.
     
    Best Regards,
    Jay
    • Anonymous's avatar
      Anonymous
      Not applicable

      Anonymous Awsome!! that did it : ) thanks a bunch Buddy

      /Måns