- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Merge columns in column chart
Hi,
I'm trying to show the result of a new column i created as one column within a barchart:
Spend + Prediction =
VAR _monthtoday =
MONTH ( TODAY () )
VAR _month_table =
MONTH ('Actual Spend + Firm'[Date] )
RETURN
IF (
_month_table >= _monthtoday
,
'Actual Spend + Firm'[Pred_Adj],
'Actual Spend + Firm'[ActualSpending_Loc]
)
The above code essentially creates a column by usinga certain value from either Pred_Adj or ActualSpending_Loc based on if the month is in the past or future. e.g. use Actualspending_Loc up until may, then use Pred_Adj.
In a table the data shows correct but in a column chart it splits the column into two bars:
Is there any way to merge the two blue columns into one? is this something i need to do in the DAX formula or the graph itself?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

show the x axis field details of your chart.

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
08-22-2024 09:13 AM | |||
04-18-2024 09:45 AM | |||
08-20-2024 05:37 PM | |||
09-23-2021 03:26 PM | |||
08-30-2024 05:09 AM |
User | Count |
---|---|
83 | |
80 | |
46 | |
37 | |
32 |