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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Anonymous
Not applicable

Help DAX formula

Hello, 

 

I need help with a function in DAX, the problem comes using a report tooltip.

 

I have a table in a page that I use for a report tooltip, in the table theres a column for the sales and other column with the total of sales, as you can see in the below image, the value of the column "aaaa" is diferent for the total of the other column "Ventas internas", this is ok, the reason for that is because we need only to show only these "Marca" we don't need to show all the "Marca", that's the reason why in the column "% Part. Vlr Mes" the total is not 100%. 

 

C1.PNG

Everything is ok, a this moment the formula works fine for me, the problem comes using the report tooltip option.

C2.PNG

 

I don't understand why "aaaa" is the same value of the Total of "Marca", as the first image show that total is no the same, i used the same fields nothig is different. Please somebody help with this I really need this to work,

 

This is the function for "aaaa": 

CALCULATE (
        [Vlr Ventas Internas];
        FILTER (
                ALL ( 'Aux Marcas Nutresa' );
                'Aux Marcas Nutresa'[Empresa] = "Nutresa"
        )
)

 

Thanks in advanced!

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

To update your measure as below to have a try.

 

This is the function for "aaaa": 

CALCULATE (
        [Vlr Ventas Internas];
        FILTER (
                ALLSELECTED ( 'Aux Marcas Nutresa' );
                'Aux Marcas Nutresa'[Empresa] = "Nutresa"
        )
)
Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

To update your measure as below to have a try.

 

This is the function for "aaaa": 

CALCULATE (
        [Vlr Ventas Internas];
        FILTER (
                ALLSELECTED ( 'Aux Marcas Nutresa' );
                'Aux Marcas Nutresa'[Empresa] = "Nutresa"
        )
)
Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

Hey @Anonymous 

I got a bit lost with your description.

Anyhow, CALCULATE should have an expression in it. Something like sum/count/countrows/etc.

Are you missing this expression?
Cheers!
A

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.