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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.