Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
hi!!
I have many problems with the filters in Dax, I woul like found some tutorial about It....
I want a Measure, "Numero de Cargas", affected by the slicers "año" y "mes" but Not by "1R-Cargado Por".
This is the formula:
NumCargas = CALCULATE(DISTINCTCOUNT(Cargas[carID]);ALLSELECTED(Cargas[1R-Cargado Por]))
but don't work.
I attache a image
Too, I have created a column, :
Column = CALCULATE(DISTINCTCOUNT(Cargas[carID]);ALLEXCEPT(Cargas;Cargas[1R-Cargado Por]))
but the result it worst...
Help me, please
Solved! Go to Solution.
Hi @BLM,
You need to clean the filter in the formula by "ALL", "Allexcept" etc. It could be like this:
NumCargas =
CALCULATE (
DISTINCTCOUNT ( Cargas[carID] );
ALL ( Cargas[1R-Cargado Por] )
)If this doesn't work, please provide your data model. A dummy one is enough.
Best Regards,
Dale
Hi @BLM,
You need to clean the filter in the formula by "ALL", "Allexcept" etc. It could be like this:
NumCargas =
CALCULATE (
DISTINCTCOUNT ( Cargas[carID] );
ALL ( Cargas[1R-Cargado Por] )
)If this doesn't work, please provide your data model. A dummy one is enough.
Best Regards,
Dale
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 55 | |
| 35 | |
| 31 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 75 | |
| 72 | |
| 38 | |
| 35 | |
| 25 |