Forum Discussion
Daxmon_23
3 years agoFrequent Visitor
intersection problem
Hello everyone. I am a bit new to Power BI, I am working on a project that consists of how two brands coexist in different points of sale. Año Mes punto venta ventas PRODUCTO A ventas PRODUCT...
- 3 years ago
Hi Daxmon_23,
You can add a measure like this:
SellTwoPlaces = CALCULATE ( COUNTROWS ( 'Table' ), FILTER ( 'Table', AND ( NOT ( ISBLANK ( 'Table'[ventas PRODUCTO A] ) ), NOT ( ISBLANK ( 'Table'[ventas PRODUCTO B] ) ) ) ) )The result is:
Hope this helps you.
Here is my PBIX file.
Best Regards,
Community Support Team _Yinliw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Daxmon_23
3 years agoFrequent Visitor
This was my attempt but the result appears in 0
Sell 2 Places =
CALCULATE(DISTINCTCOUNT(sales[Id]), FILTER(Product, AND (Product[Tipe] = "Product A",Product[Tipe] = "Product B")
)
)