To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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])) &")"