This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi - apologies if this is a very simple solution. I'm trying to take advantage of the relatively new "custom label" option in the stacked bar chart visual. I would like the label to include the value of the bar, but then append the text from two columns in a related table. I have created this code, but the issue is that the option to 'sum' the data in the visual has gone, as it is now text-based, and it only shows the value of the first entry. Is there a way to pre-sum the data in dax, so that I can then add it to the visual? here's what I have:
Solved! Go to Solution.
@oswaldosborne , Make sure you are using measure not column
SUM(Proj_LabourBudgetWeeks[Resourced_Days]) & " - " & Maxx(Proj_LabourBudgetWeeks, RELATED(Proj_Projects[Project_NameShort])) & "... (PL:" & Maxx(Proj_LabourBudgetWeeks,RELATED(Proj_Projects[Project_Manager_FirstName])) & "_PD:" & Maxx(Proj_LabourBudgetWeeks,RELATED(Proj_Projects[Project_Director_FirstName])) &")"
absolute lifesaver, thank you so much.
@oswaldosborne , Make sure you are using measure not column
SUM(Proj_LabourBudgetWeeks[Resourced_Days]) & " - " & Maxx(Proj_LabourBudgetWeeks, RELATED(Proj_Projects[Project_NameShort])) & "... (PL:" & Maxx(Proj_LabourBudgetWeeks,RELATED(Proj_Projects[Project_Manager_FirstName])) & "_PD:" & Maxx(Proj_LabourBudgetWeeks,RELATED(Proj_Projects[Project_Director_FirstName])) &")"
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 25 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 66 | |
| 36 | |
| 32 | |
| 25 | |
| 23 |