Forum Discussion
Calculated table - rows not showing
- 9 years ago
Thanks for all the replies.
I have solved the problem this time, but still don't completely understand it:
v-ljerr-msft, I checked the DISTINCT function with the other columns in the same table and found that it worked with all the columns that did not have blank or null values. For the columns that did have blank or null values (including the RegionName column), it displayed the table without showing the rows, but showed the number of rows at the bottom.
Solution: I filtered out the blank values in the RegionName column and it worked fine after that.
bullius DISTINCT function returns a one-column table so instead of calculated column you need to create a calculated table and it will work. Alternatively if you provide what you're trying to achieve I can tell of you of function that you need to use.
- bullius9 years agoHelper V
Hi ankitpatira,
Thanks for the reply. I clicked "New Table", then entered the above formula. Is that not creating a calculated table? I am trying to create a table of distint region names from a data table with a list of companies and their relative regions.
- Anonymous9 years agoNot applicable
bullius your formula is correct and it works just fine in my test. Your screenshot claims that the table has 12 rows, but for some reason they are not displaying. Have you tried closing and reopening Power BI, or refreshing your data?