Forum Discussion

Roskalnikov's avatar
Roskalnikov
Frequent Visitor
3 years ago
Solved

Returning Dimensions with Blank Values

Hey all,

 

I'm trying to return a column on a table that list dimension items with blank values in related fact table. I've tried different iterations of nested ISBLANK in CALCULATE to no avail. 

 

An example of the data I'm trying to work on is below. 

 

Dimension Table:

Name: HN_Dim

GP RegionHealth Network
LakembaNSW
PerthWA
WindangNSW
Come Here by ChanceNSW

 

Fact Table:

Name: Services_Recieved_Fact

GP RegionServices Recieved
Lakemba2.5
Perth20
Windang 
Come Here by Chance 

 

Desired result:

GP Region
Windang
Come Here By Chance

 

Many thanks. 

 

Roskalnikov

  • Hi Roskalnikov 

    place HN_Dim[GP Region] in a table visual then place the following filter measure in the filter pane of this table visual, select "is blank" and apply the filter 

    FilterMeasure = SELECTEDVALUE ( Services_Recieved_Fact[Services Received] )

4 Replies

  • tamerj1's avatar
    tamerj1
    Community Champion

    Hi Roskalnikov 

    place HN_Dim[GP Region] in a table visual then place the following filter measure in the filter pane of this table visual, select "is blank" and apply the filter 

    FilterMeasure = SELECTEDVALUE ( Services_Recieved_Fact[Services Received] )

  • Anonymous's avatar
    Anonymous
    Not applicable

    ISBLANK() returns true/false, try BLANK()

    • Roskalnikov's avatar
      Roskalnikov
      Frequent Visitor

      I've trued using BLANK() but doesn't seem to work. What would you have written as a measure?