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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
gsauers
Microsoft Employee
Microsoft Employee

I think i need to use DAX

How would I filter one table for the queries below? I have the sql queries which will give me the data but, I have no idea on how to do this in power bi. For example 1. I need to show a visual of the % of valid e-mails converted to case (higher is better). That means I need to get the value of (Valid e-mails converted to case) / (Total valid e-mails). Below that is a query but, I don't know how to do this. Resolution_SubType is a colum and Action Required Reason too.

 

  1. % of valid e-mails converted to case (higher is better)
    1. (Valid e-mails converted to case) / (Total valid e-mails)

[( (​Resolution_SubType != SPAM && Action Required Reason !="Manually fixed to not spam") /((​ Resolution_SubType != SPAM && Action Required Reason =="Manually fixed to not spam"))]

    1. Valid e-mail converted to case: E-mail auto-converted to case.  Case closed as Resolved 

[(​Resolution_SubType != SPAM && Action Required Reason !="Manually fixed to not spam") ]

    1. Total valid e-mails: (1b) + # E-mails manually converted to case

[( (​Resolution_SubType != SPAM && Action Required Reason !="Manually fixed to not spam") + (​Resolution_SubType != SPAM && Action Required Reason =="Manually fixed to not spam")]

1 REPLY 1
Stachu
Community Champion
Community Champion

Can you add sample tables (in format that can be copied to PowerBI) from your model with anonymised data? Like this (just copy and paste into the post window).

Column1Column2
A1
B2.5

 



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.