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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
woolf
Frequent Visitor

X-Axis Category accumulated values

Hi,

 

I'm fighting with a problem to show the accumulated values in a line chart based on "Categories"

Line chart and accumulated values only works with Sorter and Measure based on Amount to get the "Total cars in stock" but I lose in the X-Axis the clear brand name. 

 
Helper =
VAR Value_1= SELECTEDVALUE(Tabelle[Sorter])
RETURN
CALCULATE (
    SUM(Tabelle[Amount]),
    FILTER ( ALL (Tabelle[Sorter]), Tabelle[Sorter]<=Value_1 ))
 
AmountBrandSorter
333Audi1
123Tesla2
62BMW3
34BYD4
21Lucid5
17Volkwagen6
12Mercedes7
4Renault8
2Nissan9

woolf_0-1729761168368.png

Maybe someone has some solution.

 

./Florian

1 ACCEPTED SOLUTION
SamWiseOwl
Super User
Super User

Hi @woolf 

Helper =
VAR Value_1= SELECTEDVALUE(Tabelle[Sorter])
RETURN
CALCULATE (
    SUM(Tabelle[Amount]),
    FILTER ( ALL (Tabelle[Sorter],Tabelle[Company]), Tabelle[Sorter]<=Value_1 ))
 
When sorting a column by another they become linked in the data. 
You need to remove the filter caused by both.

If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

1 REPLY 1
SamWiseOwl
Super User
Super User

Hi @woolf 

Helper =
VAR Value_1= SELECTEDVALUE(Tabelle[Sorter])
RETURN
CALCULATE (
    SUM(Tabelle[Amount]),
    FILTER ( ALL (Tabelle[Sorter],Tabelle[Company]), Tabelle[Sorter]<=Value_1 ))
 
When sorting a column by another they become linked in the data. 
You need to remove the filter caused by both.

If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.