Forum Discussion
Error in custom column in query editor
- 8 years ago
What about the measure option then? That can be done i guess.
Also, you can replace errors with "No Data" as you mentioned. Go to "Transform" tab and click on "Replace Values" > "Replace Errors"
Please read my previous reply till end.
Hi ny326n,
In order to remove errors, you can click on your column and then click on "Remove Rows" > "Remove Errors"
Hope this helps,
Also, if you do not want to achive this in Query Editor, there is a very simple way of doing this by creating a measure.
GroupBYDate = SUMX(SUMMARIZE(Table1,Table1[Date],"CountOfUsers",COUNT(Table1[User])),[CountOfUsers])
Replace column and table names as per your dataset and it should work. Here are the screenshots:
- ny326n8 years agoFrequent Visitor
Thank you for you reply.
However, I do not want to remove the rows that contains an error, because I still like to keep the client name in the report although it does not have a date. I only want to change the error to for exampe "No date" so I don't have to see the error each time I refresh the data.
- prateekraina8 years agoMemorable Member
What about the measure option then? That can be done i guess.
Also, you can replace errors with "No Data" as you mentioned. Go to "Transform" tab and click on "Replace Values" > "Replace Errors"
Please read my previous reply till end.- ny326n8 years agoFrequent Visitor
Thanks a lot! This works. I will also try the measure option, it might be better.