Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I have a table with a measure that produces one of several states or a blank space, and then I filter out the blanks. Then, underneath that table, I have a bunch of cards that just show the count of rows that are filtered into another column and the year selected. However, one card in particular doesn't behave the same as the others, and I can't understand why.
The "UNKNOWN" project count is always the total count of UNKNOWN projects for the selected location, regardless of the year, while all other cards show only the count of projects displayed for that selected year based on that status field. See below (sorry for all the redactions). For the year I selected, only one UNKNOWN project is shown in the table, but the count in the white box is 11 – the total number of UNKNOWN projects the site has.
Solved! Go to Solution.
Hi @Rakeshadmin ,
You can create a measure as below to get the count of UNKNOWN projects:
CountOfUnknownProjects =
CALCULATE (
DISTINCTCOUNT ( 'Table'[Project] ),
FILTER ( 'Table', 'Table'[Status] = "UNKNOWN" ),
REMOVEFILTERS ( 'Table'[Year] )
)
If the above ones can't help you figure out, please provide some raw data in your table (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It would be helpful to find out the solution. You can refer the following link to share the required info:
How to provide sample data in the Power BI Forum
And it is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Hi,
Share some data, explain the question and show the expected result. Share data in a format that can be pasted in an MS Excel file.
Hi @Rakeshadmin ,
You can create a measure as below to get the count of UNKNOWN projects:
CountOfUnknownProjects =
CALCULATE (
DISTINCTCOUNT ( 'Table'[Project] ),
FILTER ( 'Table', 'Table'[Status] = "UNKNOWN" ),
REMOVEFILTERS ( 'Table'[Year] )
)
If the above ones can't help you figure out, please provide some raw data in your table (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It would be helpful to find out the solution. You can refer the following link to share the required info:
How to provide sample data in the Power BI Forum
And it is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
User | Count |
---|---|
78 | |
75 | |
62 | |
60 | |
46 |
User | Count |
---|---|
109 | |
95 | |
86 | |
79 | |
61 |