Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hi!
I created a custom data label to format numbers in the visuals, but also have a custom tooltip based on report page where the visual also have custom data labels. On Desktop(1st picture), it works fine, the line chart and tooltip have the correct labels as you can see. However, on Service (2nd picture), the line chart continues working fine but the tooltip is ignoring the format and is showing values without the formatting.
Power BI Desktop:
Power BI Service:
The DAX measure is the following:
Thanks for any help!
Hi @Gian_Tafur - This issue where custom formatting works in Power BI Desktop but not in Power BI Service is a common problem
slight modification of your dax:
Format_Acum_Opex =
VAR Value = [Acum_Opex]
RETURN
SWITCH(
TRUE(),
Value >= 1000000, Value / 1000000, // Convert to Millions
Value >= 1000, Value / 1000, // Convert to Thousands
Value <= -1000000, Value / 1000000, // Negative Millions
Value <= -1000, Value / 1000, // Negative Thousands
Value // Keep original for small numbers
)
Try re-publishing your report.Clear the browser cache & cookies.Refresh the dataset.
Hope this helps.
Proud to be a Super User! | |