Forum Discussion
CONSTANT LINE STACKED BAR CHART
The bar plot shown below was created using Python and seperates the bars based on Today's date.
I am able to recreate the stacked bar plot in Power BI but facing trouble while trying to add a constant line based on TODAY() horizontally.
This is what I get when I attempt to add a constant line
These are my constant line settings ( Also I am not sure how to base the constant line using TODAY()'s date )
Any help is appreciated. Thanks!!
Milestone column is sorted by Target Date column
5 Replies
- lbendlinSuper User
Your Y axis is text. How are you sorting that column? You could add a fake "Today" value without data (or a small amount) and then manipulate the sort order of the text values accordingly.
- AnonymousNot applicable
Can you please elaborate?
- lbendlinSuper User
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523