Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello everyone,
we have a problem with the display of data labels. Our goal is to display a cumulative cost representation on a timeline. In addition, we want to use data labels to display the costs of the current date and those of the last day of the year. - Similar to the following example :
We have used the following two approaches, among others, for this - both of which do not work properly:
1. First, we enabled a custom date label under Data Labels - Values - and inserted the following measure:
Here, however, only the monthly search works, but not the desired daily breakdown/search by 2 specific days (Today and Dec 31, 2024), like the following:
2. The second approach is as follows:
First, we added another column to the date table (DimDate) that puts an "X" in any rows we desire (eg:
- which works.
Now a measure was created that colors the data label dark if there is an X in the row and makes the data label transparent if there is no X:
- However, it is only displayed in the graph when putting the "X" for Jan 1, 2024 and Dec 31, 2024.
We have tried both approaches with different cost data (not just with the measure GesamtkostenKum)
- but the same problem remains: With the first approach only the search by month works and with the second approach you can only display January 1 and December 31, 2024.
If you have any suggestions for our current approaches or could guide us to a different solution we would be very grateful! Thank you a lot in advance 🙂
Hi @Anonymous ,
According to your description, I can understand the results you want to achieve, but for the establishment of your MEASUREMENT, we need more data and relationships for testing, please provide detailed data, table relationships, or pbix files, please hide sensitive information in advance.
Best regards
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Anonymous,
It is quite difficult to upload data here, therefore I will include a test data in the chat and describe the rest of the steps I took for solution aooroach 2 here:
The additional column in the Table Test is created with the DAX code:
Date | Value | Running Total |
01.01.2024 | 310,06946 | 310,06946 |
02.01.2024 | 609,048144 | 919,117604 |
03.01.2024 | 200,271223 | 1119,38883 |
04.01.2024 | 349,384232 | 1468,77306 |
05.01.2024 | 41,2722926 | 1510,04535 |
06.01.2024 | 814,468673 | 2324,51402 |
07.01.2024 | 377,860134 | 2702,37416 |
08.01.2024 | 812,889824 | 3515,26398 |
09.01.2024 | 343,9323 | 3859,19628 |
10.01.2024 | 715,625512 | 4574,82179 |
11.01.2024 | 635,317143 | 5210,13894 |
12.01.2024 | 181,220246 | 5391,35918 |
13.01.2024 | 239,48955 | 5630,84873 |
14.01.2024 | 813,813079 | 6444,66181 |
15.01.2024 | 521,790803 | 6966,45261 |
16.01.2024 | 382,223767 | 7348,67638 |
17.01.2024 | 681,190383 | 8029,86676 |
18.01.2024 | 148,97316 | 8178,83992 |
19.01.2024 | 52,604831 | 8231,44476 |
20.01.2024 | 90,642253 | 8322,08701 |
21.01.2024 | 794,163149 | 9116,25016 |
22.01.2024 | 627,225468 | 9743,47563 |
23.01.2024 | 939,590988 | 10683,0666 |
24.01.2024 | 186,881867 | 10869,9485 |
25.01.2024 | 46,1902305 | 10916,1387 |
26.01.2024 | 480,160694 | 11396,2994 |
27.01.2024 | 723,276997 | 12119,5764 |
28.01.2024 | 53,729369 | 12173,3058 |
29.01.2024 | 22,3924623 | 12195,6982 |
30.01.2024 | 901,586739 | 13097,285 |
31.01.2024 | 514,263244 | 13611,5482 |
01.02.2024 | 487,632422 | 14099,1806 |