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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
pmcinnis
Helper III
Helper III

How do I produce this table from this input data?

I need to produce the table 'Desired Output' from the data in the tables 'Results' and 'Guidelines'.

  • 'Results' is a table of chemical concentration results.
    • 'Factory' is the factory where the chemical was sampled.
    • 'result type' is the type of sample.
  • 'Guidelines' is a table of health guidelines for the various chemicals. Chemical concentration results should be below the guidelines to ensure public safety.
  • The table 'Desired Output' presents the number of results above guideline for each chemical at each factory, for result types K and L but not result type J.
    • Many chemicals don't have guidelines, so ignore those chemicals. Leave them out of the table 'Desired Output'
    • Where the number of results above guideline for a given chemical at a given factory (for result types K and L) is zero, make the entry in 'Desired Output' a blank rather than zero
    • Where a chemical has no results above guideline at any factory (for result types K and L), leave that chemical out of the table 'Desired Output'. In the example below, chemicals c and d are left out of 'Desired Output' for this reason.


I've attached a photo of the tables below. I haven't found a way to attach or include data tables to my posts, and I've tried several different ways suggested by experts here but none has worked. I don't think Dropbox is an option for me. OneDrive might be though I would need advice on how to create the link.

 

 

Exceedance counts by parameter at each DWS.PNG

 

2 REPLIES 2

I'm familiar with this article, and have tried the solution described in it before (#2) but can't get it to work. I tried it again just now, but still no luck. Can't get it to work at all.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors