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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

ALL FUNCTION NOT WORKING

Hi.

I created a calculated field using ALL function and when I show all the informations it works well.
The problem is when I filter.
The total sum of revenue "R$ Fat. TTL (ALL)" is not considering "SEM COR".

danielkataoka_0-1661374222246.png

 

 

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , You need to have measure like

 

example

calculate([revenue measure], all())

 

or

 

calculate([revenue measure], all([main fact table]))

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @amitchandak .

I already have a measure like that.
The table where I'm using this measure contain one information that is blank actually (named "SEM COR").
I don't know why when I filter only one color in the table the total sum of the colors does not consider the blank value. So, the sum of the colors only consider the colors green, yellow, orange, red and black. Ignoring the blank value ("SEM COR")




Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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