Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hi all,
I am running out of ideas on how to make my visualization meet the requirements.
The requirement is to display only Revenue bar starting from column Balance Committed, and the rest should include all three (Revenue, TP Cost, Profit and Loss). The data source is coming from the same Excel file.
Below shows the excel table for their data source as your reference:
| No | Description | REVENUE | Material | Subcontract | Direct Expenses | Total Production Cost | Working Contigency | Overhead | Warranty | Mgmt Contigency | PROFIT/LOSS |
| 1 | Working Budget | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 4 | Incurred | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 5 | Balance Committed | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 3 | Total Committed | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 6 | Balance Cost to Complete | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 2 | Current Forecast | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Solved! Go to Solution.
Hi @Klik - you can approach this problem with conditional formatting and DAX measures in Power BI.
Create separate measures for each category (Revenue, TP Cost, Profit and Loss) with logic to display values conditionally based on the columns.
Revenue_Display =
IF(
SELECTEDVALUE(YourTable[Description]) IN {"Balance Committed", "Incurred", "Total Committed"},
SUM(YourTable[REVENUE]),
BLANK()
)
create another measure, TP_Cost_Display =
IF(
SELECTEDVALUE(YourTable[Description]) IN {"Balance Cost to Complete", "Current Forecast", "Working Budget"},
SUM(YourTable[Total Production Cost]),
BLANK()
)
last measure for,
Profit_Loss_Display =
IF(
SELECTEDVALUE(YourTable[Description]) IN {"Balance Cost to Complete", "Current Forecast", "Working Budget"},
SUM(YourTable[PROFIT/LOSS]),
BLANK()
)
In your Power BI visual, use stacked column chart or clustered column chart.Add the Description column to the axis.Add the conditional measures (e.g., Revenue_Display, TP_Cost_Display, Profit_Loss_Display) to the values field.
Proud to be a Super User! | |
hi @Klik ,
Revenue_Display = SUM('Table'[REVENUE])
For the rest of the code refer to the example given by Rajendra.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Happy to help @Klik !!
Proud to be a Super User! | |
hi @Klik ,
Revenue_Display = SUM('Table'[REVENUE])
For the rest of the code refer to the example given by Rajendra.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi @Klik - you can approach this problem with conditional formatting and DAX measures in Power BI.
Create separate measures for each category (Revenue, TP Cost, Profit and Loss) with logic to display values conditionally based on the columns.
Revenue_Display =
IF(
SELECTEDVALUE(YourTable[Description]) IN {"Balance Committed", "Incurred", "Total Committed"},
SUM(YourTable[REVENUE]),
BLANK()
)
create another measure, TP_Cost_Display =
IF(
SELECTEDVALUE(YourTable[Description]) IN {"Balance Cost to Complete", "Current Forecast", "Working Budget"},
SUM(YourTable[Total Production Cost]),
BLANK()
)
last measure for,
Profit_Loss_Display =
IF(
SELECTEDVALUE(YourTable[Description]) IN {"Balance Cost to Complete", "Current Forecast", "Working Budget"},
SUM(YourTable[PROFIT/LOSS]),
BLANK()
)
In your Power BI visual, use stacked column chart or clustered column chart.Add the Description column to the axis.Add the conditional measures (e.g., Revenue_Display, TP_Cost_Display, Profit_Loss_Display) to the values field.
Proud to be a Super User! | |
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 65 | |
| 64 | |
| 49 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 119 | |
| 117 | |
| 38 | |
| 36 | |
| 29 |