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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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.

Top Solution Authors