Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
joao_maia_ext
Frequent Visitor

Filling missing value for non existing row in report List

Hello Power Bi Community!

In this process of get familiarized with the powerbi I'm still facing some setbacks and i would like to ask for some support!

 

 

For this case study i've 3 tables:

 

  1. Main List of IND ( ID of Indicators)
  2. Main List of dates (ID of Quarters)
  3. List: Reported Results

 

 

In table 1 I have all the IND IDs' and in the table 2 I have all the quarters (T.1, T.2, T,3 and T.4).

In my list 3 (Reported) I have only the value IND reported for some given quarters.

 

 

I would like to compile the results in one matrix and chart but I'm facing some issues.

This is would it looks like:

 

My tables:

 

joao_maia_ext_0-1622105961270.png

 

My objective:

joao_maia_ext_2-1622106082877.png

 

For the missing values at the compiled matrix I would like to add - "Not reported" and then I want to compile all that in one chart, that counts the numbers of occurrences.

 

At the moment I've tried this measure but i can't make the chart.. it does not allow to add the measure to it..

 

=SUMMARIZE('Table1',"Report",if(ISBLANK([Result]),"Not Reported",[Result]))

 

 

Can someone help me find a solution?

 

Best regards!

JM

1 ACCEPTED SOLUTION
DataInsights
Super User
Super User

@joao_maia_ext,

 

Try this solution.

 

1. Create data model:

 

DataInsights_0-1622315326327.png

 

2. Create measure:

 

Result Adj = IF ( ISBLANK ( MAX ( Table3[Result] ) ), "Not Reported", MAX ( Table3[Result] ) )

 

3. Create calculated table:

 

Visual Table = 
VAR vTable =
    CROSSJOIN ( VALUES ( Table1[ID IND] ), VALUES ( Table2[Quarter] ) )
VAR vResult =
    ADDCOLUMNS ( vTable, "Result", [Result Adj] )
RETURN
    vResult

 

4. Create measure:

 

Count Result = COUNT ( 'Visual Table'[Result] )

 

5. Create visuals using the calculated table:

 

DataInsights_1-1622315619884.png

 

DataInsights_2-1622315696617.png

 

DataInsights_3-1622315720319.png

 

DataInsights_4-1622315759486.png

 

Note: The matrix can be produced without the calculated table, as follows:

1. The row and column fields are from the dimension tables (Table1 and Table2).

2. The row and column fields are set to "Show items with no data".

3. The values field is [Result Adj].





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
joao_maia_ext
Frequent Visitor

It worked!! thanks 🙂

DataInsights
Super User
Super User

@joao_maia_ext,

 

Try this solution.

 

1. Create data model:

 

DataInsights_0-1622315326327.png

 

2. Create measure:

 

Result Adj = IF ( ISBLANK ( MAX ( Table3[Result] ) ), "Not Reported", MAX ( Table3[Result] ) )

 

3. Create calculated table:

 

Visual Table = 
VAR vTable =
    CROSSJOIN ( VALUES ( Table1[ID IND] ), VALUES ( Table2[Quarter] ) )
VAR vResult =
    ADDCOLUMNS ( vTable, "Result", [Result Adj] )
RETURN
    vResult

 

4. Create measure:

 

Count Result = COUNT ( 'Visual Table'[Result] )

 

5. Create visuals using the calculated table:

 

DataInsights_1-1622315619884.png

 

DataInsights_2-1622315696617.png

 

DataInsights_3-1622315720319.png

 

DataInsights_4-1622315759486.png

 

Note: The matrix can be produced without the calculated table, as follows:

1. The row and column fields are from the dimension tables (Table1 and Table2).

2. The row and column fields are set to "Show items with no data".

3. The values field is [Result Adj].





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.