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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
tqn626
Frequent Visitor

Incorrect sum of Row Total

I've been trying to figure out this issue for days. I'm not sure if it a relationship issue or a formula issue.

 

When I select each multiple selections it will give me the correct number. When selecting all it will give me the incorrect number.

Selecting 2 entries

tqn626_0-1642208992971.png

Selecting all

 

tqn626_1-1642209040570.png

 

The formula

Total Active Store Count =
CALCULATE (
    COUNTROWS ( SUMMARIZE ( Dim_v_ip_outs, Dim_v_ip_outs[vp_id] ) ),
    Dim_v_ip_outs[status] = "A"
)

 

 

 

6 REPLIES 6
v-yalanwu-msft
Community Support
Community Support

Hi, @tqn626 ;

Is your problem solved? If so, Would you mind accept the helpful replies as solutions? Then we could close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
 
v-yalanwu-msft
Community Support
Community Support

Hi, @tqn626 ;

Try the following formula,

Total Active Store Count =
COUNTROWS ( SUMMARIZE ( FILTER ( 'Dim_v_ip_outs', [status] = "A" ), [vp_id] ) )

your total is incorrect because of relationship reasons, but it should be solved through the formula, but because the information you provided is a little little, I cannot reproduce, can you make a simple file to remove sensitive information, keep the structure consistent with the source data? In this way, sensitive information can be avoided, and your problem can be solved better .

Looking forward your reply!


Best Regards,
Community Support Team_ Yalan Wu

Ashish_Mathur
Super User
Super User

Hi,

Does this work?

Total Active Store Count = CALCULATE(DISTINCTCOUNT(Dim_v_ip_outs[vp_id]),Dim_v_ip_outs[status] = "A")

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Still getting same issue.

 

tqn626_0-1642223338269.png

 

Hi,

I cannot help without getting access to your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
tqn626
Frequent Visitor

Here the 3 connectors. I believe the main issue is that Voxref doesn't contain all combinations and that is by design from the datasource i'm getting it from.

VOXref

tqn626_1-1642223794821.png

V_Ip_Out

 

tqn626_2-1642223851806.png

 

Dim_Dist

 

tqn626_3-1642223896886.png

 

How they're connected

tqn626_4-1642223931182.png

 

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors