Forum Discussion
Data in visual not coming through from Custom Column in Power Query
Hello,
I have 2 near-identical custom columns in Power Query as follows:
Insight_refund = if List.AnyTrue(List.Transform({"refund"}, (substring) => Text.Contains([Message], substring))) then "Refund" else ""
Insight_credit = if List.AnyTrue(List.Transform({"credit"}, (substring) => Text.Contains([Message], substring))) then "Credit" else ""
These columns both work correctly:
I would like to see the YoY difference in a line graph so created these measures to populate the y axis:
In comparison, the insight_credit_count works great:
I am using a date table that is linked to this current table which is an Excel workbook hosted locally.
Instead of "Credit" & "Refund", I have also tried using 1 and then using the main insight_xx columns to sum/count but it the same result is happening.
I can't see a way to upload a file but here is a snapshot of what the data behind looks like:
Anonymous wondering if you have a filter that is not allowing you to see the refund value? Can you hover over the funnel icon on the visual and see what kind of filters are applied and go from there?
3 Replies
- parry2k
Super User
Anonymous wondering if you have a filter that is not allowing you to see the refund value? Can you hover over the funnel icon on the visual and see what kind of filters are applied and go from there?
- AnonymousNot applicable
How did you know that?! You are a prince among thieves, thank you very much. I had duplicated the page which kept the filters although there wasn't any filters visible in the filters window. Lesson learned.
- parry2k
Super User
Anonymous ha ha, nice feedback. Nice to be a price once in a while, mostly I'm part of thieves 😜