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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Vsaez
Frequent Visitor

Problem to filter value by month and year

Hello, I hope you are well

 

I have this dataset, where I need to get the percentage in relation to the total, of the certain number of claims that a company has.

What I need to do is filter for the year 2020, for example, in March, and the calculated percentage is the one that corresponds to the total volume of March.

This is my dataset

Vsaez_0-1617986099123.png

 

And this is the measurement I created, but it only works if I filter per year. If I filter by month, it does nothing.

 

% total = sum ('public web_ale_topn_alertas' [contador]) / CALCULATE (sum ('public web_ale_topn_alertas' [contador]), ALLSELECTED ('public web_ale_topn_alertas'))

 

 

Thank you very much for the help!

 

 

 

 

1 REPLY 1
Anonymous
Not applicable

Hi @Vsaez,

Can you please share some dummy data with a similar data structure and expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors