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
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
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.

Top Solution Authors