Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have these measures:
Solved! Go to Solution.
Hi @Anonymous ,
I think the challenge you're facing stems from the fact that the FORMAT function converts your measures into text strings, which cannot be directly used in line charts as they require numeric values to plot the data points.
You can change your DAX codes.
Total_ACW_Seconds = SUM('All_NICE_Data'[Total_Handle_Time]) - SUM('All_NICE_Data'[Total_Talk_Time])
Total_Handle_Time_Seconds = SUM('All_NICE_Data'[Handle Time])
Total_Talk_Time_Seconds = SUM('All_NICE_Data'[Talk Time])
Then you can use it in the line chart and you can change the format as you like.
Total_ACW_HH_MM_SS =
VAR TotalSeconds = [Total_ACW]
RETURN FORMAT(TotalSeconds / 86400, "HH:MM:SS")
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
I think the challenge you're facing stems from the fact that the FORMAT function converts your measures into text strings, which cannot be directly used in line charts as they require numeric values to plot the data points.
You can change your DAX codes.
Total_ACW_Seconds = SUM('All_NICE_Data'[Total_Handle_Time]) - SUM('All_NICE_Data'[Total_Talk_Time])
Total_Handle_Time_Seconds = SUM('All_NICE_Data'[Handle Time])
Total_Talk_Time_Seconds = SUM('All_NICE_Data'[Talk Time])
Then you can use it in the line chart and you can change the format as you like.
Total_ACW_HH_MM_SS =
VAR TotalSeconds = [Total_ACW]
RETURN FORMAT(TotalSeconds / 86400, "HH:MM:SS")
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
71 | |
55 | |
38 | |
31 |
User | Count |
---|---|
71 | |
64 | |
62 | |
50 | |
46 |