cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Alejandro-Glez
Helper III
Helper III

COUNT does not work properly

Good

When I use the COUNT function, the result that appears to me is:

Alejandro-Glez_0-1605725149631.png

However, if we go to the table, we find that:

Sin título.png

So with the rest of the elements. The elements of that column, I have them in the following table "DimStRet"

Alejandro-Glez_1-1605725385430.png

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Alejandro-Glez ,

 

To my knowledge, the filters in "Data view" won't affect the results in "Report view". It's used to check the result of measures.

 

 

Best regards

Icey

 

If this post helps, then consider Accepting it as the solution to help other members find it faster.

View solution in original post

4 REPLIES 4
Icey
Community Support
Community Support

Hi @Alejandro-Glez ,

 

To my knowledge, the filters in "Data view" won't affect the results in "Report view". It's used to check the result of measures.

 

 

Best regards

Icey

 

If this post helps, then consider Accepting it as the solution to help other members find it faster.

PaulDBrown
Community Champion
Community Champion

@Alejandro-Glez 

Can you please post the measure?





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Estatus Retención = IF(FactVentas[Diferencía de días retención]>0 && FactVentas[Estado Retención] = "NO", "Reclamar",
IF(FactVentas[Diferencía de días retención] > - 10 && FactVentas[Estado Retención] = "NO" && FactVentas[Cobro Parcial] = "No tiene", "Por vencer",
IF(FactVentas[Estado Retención]= "Sin retencion", "No retiene",
IF(FactVentas[Estado Retención] = "Parcial" && FactVentas[Diferencía de días retención] > 0 && FactVentas[Cobro Parcial] = "Si", "Reclamar",
IF(FactVentas[Diferencía de días retención]<0 && FactVentas[Estado Retención] = "NO"  && FactVentas[Cobro Parcial] = "No tiene", "Esperar",
IF(FactVentas[Estado Retención]= "Si","Cobrado",
IF(FactVentas[Estado Retención] = "No" && FactVentas[Diferencía de días retención] > -30 && FactVentas[Cobro Parcial] = "Si", "Por vencer",
if(FactVentas[Diferencía de días retención] > -275 && FactVentas[Cobro Parcial] = "No" && FactVentas[Estado Retención] = "No", "Retención L",
"Esperar"))))))))

@PaulDBrown

@Alejandro-Glez 

I meant the COUNT measure. The measure you posted returns a string, does it not?





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors