The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
I have the following stacked line chart which has been drilled down to year and month in order to show Sum of costs.
Each category is a running total of costs per month
I have created a Running total column
SUMX ( FILTER ( Table1, EARLIER ( Table1[Group] ) = Table1[Group] && EARLIER ( Table1[Index] ) >= Table1[Index] ), Table1[Amount] )
Is there a way to prevent the repeating columns?
Any ideas would be helpful! Thanks!
Solved! Go to Solution.
Hi @kala2 ,
According to your description, the visual show the running total value, I think when the [Amount] is 0 caused the repeating columns.
You can modify the formula like this:
Column =
VAR _Total =
SUMX (
FILTER (
Table1,
EARLIER ( Table1[Group] ) = Table1[Group]
&& EARLIER ( Table1[Index] ) >= Table1[Index]
),
Table1[Amount]
)
RETURN
IF ( Table1[Amount] = 0, BLANK (), _Total )
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @kala2 ,
According to your description, the visual show the running total value, I think when the [Amount] is 0 caused the repeating columns.
You can modify the formula like this:
Column =
VAR _Total =
SUMX (
FILTER (
Table1,
EARLIER ( Table1[Group] ) = Table1[Group]
&& EARLIER ( Table1[Index] ) >= Table1[Index]
),
Table1[Amount]
)
RETURN
IF ( Table1[Amount] = 0, BLANK (), _Total )
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @kala2
You should be able to go to the visual and use the Filter Pane to hide any Date period that you do not want or you can use Relative Date in the filter pane to limit the periods you want to show.
Hope this helps.
Theo
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
User | Count |
---|---|
86 | |
84 | |
35 | |
35 | |
35 |
User | Count |
---|---|
94 | |
79 | |
63 | |
55 | |
52 |