Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Veternus
Frequent Visitor

Average calculation issue with Direct Query mode - Sprinklr

Hello good people,

 

Currently, I'm trying to integrate data from Sprinklr into our Power BI report. I am connected to Sprinklr using Spark and Direct Query mode. Graphs displaying percentages and SUM totals are functioning well; however, I am encountering an issue with calculating average durations. The values for time durations (of our calls) only display as SUM totals (as seen in the image below), resulting in numbers in the millions.

Veternus_0-1713950943715.png

When I switch the visualization to Average, the graph only returns a zero (as seen in the pictures below).

 

Veternus_2-1713951046168.png

Veternus_3-1713951166367.png

 

This exact issue was previously discussed here: https://community.fabric.microsoft.com/t5/Desktop/Average-calculation-issue-with-Direct-Query-mode/m..., but no solution was found.

 

Has anyone successfully tackled this issue since then?

 

Thank you and have a great day!

5 REPLIES 5
DataInsights
Super User
Super User

@Veternus,

 

Have you tried creating an explicit measure (DAX)? I don't have access to Sprinklr data so I'm unable to test it.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hello and thank you for your reply, 

 

When I've tried to Average the column using DAX, it returned 0 as well. I'm currenty trying to find the right values to manually average the SUM of mentioned column, but with no use - it returns unexpected and completly wrong results.

 

@Veternus,

 

That's strange. You might try the DAX function TOCSV to get visibility into the underlying data:

 

https://dax.guide/tocsv/ 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




@Veternus,

 

Try calculating the average manually.

 

Numerator: SUM

Denominator: COUNTROWS





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Thank you for your advices - 


TOCSV Returns error


I'v already tried COUNTROWS, but the function alone returns "Blank" as result, dividing this way is not possible. 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.