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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Power BI Not Showing Calculations for Unmatched Records

I have been trying to combine two reports in a one to many relationship for our HR department.  One report is a list of open positions (FulfillmentStatus one side) and the other is a list of job requisitions (FISReqStatus many side) that have been opened to fill the postions.  I created a bridge table between both reports and have setup a connection across both tables. 

 

We want to be able to show in one view all relevant stats from the two reports even when there are no job reqs yet opened.  Other than job requestor, contact profile, and source; the only statistic coming from the open positions is the quantity requested.  All other stats come from the job requisitions, i.e. total applicatins, count of req ids, etc.  I have set it to show items with no data and I am getting exactly what they want with the exception of quantity requested column that wont show any data for positions that have no matching job reqs. 

 

See below, If I add the Req ID quantity requested disappears for these records, yet the correct total of 233 is still shown.  When I filter to just records with a matching Req ID everything looks fine.  Likewise if I remove the Req ID and filter on only records with no matching Req ID things again look fine, but the moment I add the Req ID the quantity requested dissapears for those unmatched records.  Am I missing something here?

 

Calculation Issue'.jpg

 

Calculation Issue Data Model.JPG

 

1 ACCEPTED SOLUTION
Pragati11
Super User
Super User

Hi @Anonymous ,

 

The reason why the QuantityRequested disappears at the moment you add REQ ID column is -

In your FIRREQSTATUS table, there are only blank values for TechOpsRequestID column. So basically it's empty for this column. See below:

Pragati11_0-1597764428904.png

Therefore you see blanks in your table visual.

 

I think it's worth checking the data and cleaning it.

 

Also a workaround for your issue would be as follows:

I modified the data model as follows:

I created relationship in the 2 tables on "TechOpsRequestID" column.

Pragati11_2-1597764825153.png

 

Create a measure as follows:

QantityRequestedMeasure = SUM(FullfillmentStatus[Quantity])+0 (as suggested by @dedelman_clng )

 

 Then move this measure on your table visual:

vt.png

 

Hope this helps.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

15 REPLIES 15

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.