Forum Discussion
BeginnerBI
Helper I
2 years agoTables with no null
Hello This is my scenario. I have the query 1 with my store list and and the query 2 with a table WITH NO NULLS. When you connect both you can see the table with the column called: store w...
- 2 years ago
Hi,
I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below. Please check the below picture and the attached pbix file whether it suits your requirement.
No sales store count: = SUMX ( VALUES ( Store[Store] ), CALCULATE ( INT ( ISBLANK ( COUNTROWS ( FILTER ( Sales, NOT ISBLANK ( SUM ( Sales[Quantity] ) ) ) ) ) ) ) )
Jihwan_Kim
Super User
2 years agoHi,
I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below. Please check the below picture and the attached pbix file whether it suits your requirement.
No sales store count: =
SUMX (
VALUES ( Store[Store] ),
CALCULATE (
INT (
ISBLANK (
COUNTROWS ( FILTER ( Sales, NOT ISBLANK ( SUM ( Sales[Quantity] ) ) ) )
)
)
)
)