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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
NavaneethaRaju
Helper IV
Helper IV

Find the count of IF condition returned 1 and have to find the late return %

Hi ,

I have column called late return its having the diffrence between two dates, and after that i write the IF condition to show the correct return Fl and late return Fl , there im showing the one and Zeros for that condition. I want to count the how many 1's are there in two columns. I have to find the difference %.

%= 15/(15+6)=71%

 

NavaneethaRaju_0-1666101594864.png

Please advice me to create calculated column and measure for thiss.

1 ACCEPTED SOLUTION
mangaus1111
Solution Sage
Solution Sage

Hi @NavaneethaRaju ,

 

to calculate the Pct of Late Return, you just need a simple measure like this:

 

Pct Late Return= DIVIDE(
                  CALCULATE(
                           COUNT(Table[Late Return]),
                            Table[Late Return]>0
                            ),
                 COUNTROWS('Table')
)
 
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

1 REPLY 1
mangaus1111
Solution Sage
Solution Sage

Hi @NavaneethaRaju ,

 

to calculate the Pct of Late Return, you just need a simple measure like this:

 

Pct Late Return= DIVIDE(
                  CALCULATE(
                           COUNT(Table[Late Return]),
                            Table[Late Return]>0
                            ),
                 COUNTROWS('Table')
)
 
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors