Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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 with values or with blanks depending on the query 2.
My problem is that I need to calculate in this table how many rows are blank. since the query 2 has no blanks ...I dont know what to do 😞
Thank you guys!
Solved! Go to Solution.
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] ) ) ) )
)
)
)
)
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] ) ) ) )
)
)
)
)
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
21 | |
11 | |
10 | |
10 | |
8 |