cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Frequent Visitor

## Calculate the percentage of the total with respect to a row

Dear any idea how to solve the following:

I need the value of the row SALE OF SERVICES (VENTA DE SERVICIOS) to be repeated in the whole column (Sale only balance), as you will see, try to do it using the calculation using the filter, since I am interested in knowing only that value, but it is not repeated. I need it to repeat like that, in order to calculate the% of Sale column, and as you can see, they only calculate me from the first row. The final idea is that each row represents a% of the total of the concept SALE OF SERVICES

(*)Taking into account that to calculate the column: YTD balance (Saldo YTD) I am using the function TOTALYTD (EERR_AnualGT [SumSaldo], Calendar [Date])

2 ACCEPTED SOLUTIONS
Kudo Kingpin

It feels like the Concepto column is sorted by another column, though I don't know what that column is.

Let's assume it's IdConcepto. Add REMOVEFILTERS(EERR_AnualGT[IdConcepto]) to your formula as a CALCULATE modifier.

If you're interested to know what is happening, see Side effects of the Sort By Column setting in DAX.

Community Support

Hi @Pvargash ,

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,

Dedmon Dai

4 REPLIES 4
Kudo Kingpin

It feels like the Concepto column is sorted by another column, though I don't know what that column is.

Let's assume it's IdConcepto. Add REMOVEFILTERS(EERR_AnualGT[IdConcepto]) to your formula as a CALCULATE modifier.

If you're interested to know what is happening, see Side effects of the Sort By Column setting in DAX.

Community Champion

I believe all you need to do is add an ALL('EERR_AnualGT') on the yellow mark:

Br,
J

Frequent Visitor

Thank you @tex628 ,

Thanks, applying the recommended solution I have all the rows but not for the correct value, in the image I pose what I need to obtain

Community Support

Hi @Pvargash ,

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,

Dedmon Dai

Announcements

#### Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

#### Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

#### Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

#### Fabric Community Update - September 2024

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

Top Solution Authors
Top Kudoed Authors