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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Count total of pending files in DAX

Select isNull(Count(NroComprobante),0) as 'Comp No Cobrados' 
From ClientesCtaCte
Where Estado = 'A' and CuentaCorriente = 1 and FechaComprobante = '20190801' and TipoOperacion IN ('FAC','CPO') and ImporteTotal <> ImportePagado

Hi there i am very new to power bi and using DAX formulas to do some measures...

 

In the report that im doing i am trying to show how many "comprobantes" are still pending to pay in all of my company.

 

The columns "Estado","CuentaCorriente" and "TipoOperacion" are page level filters in my report and "FechaComprobante" is a Slicer object inside the report. the only thing that i need to use in this meassure i think is the "ImporteTotal <> ImportePagado" so i can know how many "Comprobantes" are still pending from all of the filters before or i need to use all of the filters so i can get the result that i need to do?...

 

How can i do this? I read an article that i need to use Filter or Calculate but im not so used to DAX. If someone can help me i will be much apreciate it.

 

Thanks in advance.

1 ACCEPTED SOLUTION
1 REPLY 1

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.