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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Syndicate_Admin
Administrator
Administrator

Help when filtering

Good morning!

I would like to know if anyone can help me with a problem that is being presented to me with the DAX.

In my table I have a column that are sweets, another that is TYPE (Cookies, candies, chewing gum), and another that are quantity sold. I would like to be able to make a formula to get the sales rate (Quantity of type of treats x 100/Total amount of sweets). The problem lies in the use of filters, since later when I make the graphics I would also like the formula to be filtered to give me the sales rate of each candy in particular, and in those years in particular.

I don't know if you understand what I want to achieve, I hope you can understand it.

Thank you very much for the help!

1 REPLY 1
amitchandak
Super User
Super User

@Syndicate_Admin ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.