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
edavis248
Helper I
Helper I

% Between two columns. How to get card to show total of filtered value?

When dividing to get percentage between two columns and show percentage in it s own column. to show this vlaue in a card. How do I get the card to show total of filtered value?

The total is reflecting in the table but the card is showing the summed value not the total fitlered value shown in the chart.

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @edavis248 ,

 

Do you mean that the total percentage value of the filtered statistics is not consistent with the actual percentage? 

 

Maybe you can try below formula:

Filter_result_ =
VAR div2 =
    CALCULATE ( SUM ( FactInternetSales[SalesAmount] ), ALL ( DimProduct ) )
RETURN
    DIVIDE ( SUM ( FactInternetSales[SalesAmount] ), div2, BLANK () )

vhenrykmstf_0-1668415678101.png


If the problem is still not resolved, please provide detailed error information and test data. Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-henryk-mstf
Community Support
Community Support

Hi @edavis248 ,

 

Do you mean that the total percentage value of the filtered statistics is not consistent with the actual percentage? 

 

Maybe you can try below formula:

Filter_result_ =
VAR div2 =
    CALCULATE ( SUM ( FactInternetSales[SalesAmount] ), ALL ( DimProduct ) )
RETURN
    DIVIDE ( SUM ( FactInternetSales[SalesAmount] ), div2, BLANK () )

vhenrykmstf_0-1668415678101.png


If the problem is still not resolved, please provide detailed error information and test data. Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@edavis248 , Total of filtered value

 

calculate(Sum(Table[Value]), allselected())

 

 

without filter

calculate(Sum(Table[Value]), all())

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you, I tried this but the value is not the same as the % of total column or a percentage? Power BI.JPG

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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