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
Anonymous
Not applicable

Issue with DAX - Compliance results received on due time for the dashboard

Hello All, 

I have to show KRI: Complaiance results received on due time for the dashboard and I need to calculate and show the following columns:

dgadzinski_0-1662310414079.png

I have 2 source. The first source is Share Point and the second are 30 excel files merged into one table. The Excel files are provided throught Product Owners and I have to check if I received the data from the Product Owner in a month. If is in Sharepoint status "implemented" then I have to see in the excel file if it was actually delivered. Can this be automated with dax and how to calculate column expected, received and coverage?
Sample data and columns below: 

  • SharePoint:

dgadzinski_3-1662311020491.png

 

  • Excel file: 
    dgadzinski_2-1662310899330.png

     

    * 1 technology may have more than 1 product

Could you help me with this?I would be very grateful

 

3 REPLIES 3
Anonymous
Not applicable

Hello @Greg_Deckler it works, thank you! But I would like to show the total value for this on the card and pie chart and when I added this calculated measures to the card, it's blank. Could you help me with this? I really appreaciate your help. 

v-xiaotang
Community Support
Community Support

Hi @Anonymous 

Thanks for reaching out to us.

I just want to confirm if you resolved this issue? If yes, you can accept the answer helpful as the solution or share you method and accept it as solution, thanks for your contribution to improve Power BI.

If you need more help, please let me know.

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Community Champion
Community Champion

@Anonymous OK, put Technology from SharePoint table into a table visual. Then these measures:

 

Expected = COUNTROWS(FILTER('SharePoint',[Status] = "Implemented"))

Received = 
  VAR __Technology = MAX('SharePoint'[Technology])
  VAR __Products = SELECTCOLUMNS(FILTER('SharePoint',[Status] = "Implemented"),"__Product",[Product Name])
  VAR __Products2 = SELECTCOLUMNS(FILTER(ALL('Excel'),[Technology] = __Technology),"__Product",[Product Name])
RETURN
  COUNTROWS(INTERSECT(__Products, __Products2))

Coverage = DIVIDE([Received], [Expected], 0)

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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.