text
20 TopicsFiltering text with > or <
I have software version information like version 11.0.2 and 11.0.10. If I want to filter to all versions 11.1.0 or later I don't see a good way to filter. Yes, I have broken it into three pieces major, minor, and patch, but for these two version examples when sorting as text 11.0.10 is actually earlier than 11.0.2 (as a string "10" < "2") My solution was to left pad each piece to 3 characters so that the version looks like 011.000.010 and 011.000.002 which works great for sorting, but not for filtering because I don't see a > or < operator, only for numeric values, only things like "contains" and "blank", etc. So what's my best option? Thanks!Solved987Views0likes5CommentsFind multiple substring DAX CONTAINSSTRING
Hello everyone, I need to find if the substrings "house", "home", "dewelling" appear in a long string column. Using CONTAINSSTRING I am able to find each word at a time- house= CONTAINSSTRING(table1[column1], "house"). Is there a way to look for more than one substring? Perhaps something like house= CONTAINSSTRING(table1[column1], "house" or "home" or "dewelling"). Thank you for any help!Solved60KViews0likes14CommentsIf date value is not blank return date value if date value is blank return "Text"
Hello I need a measure for a card visual to display a date value if present however if it's blank display a custom text such as "NONE" The date field(expectedresultdate) is a data type of "Date". The custom text if the field is blank is just "Text". Heres what I have. next update = IF(ISBLANK(SELECTEDVALUE('Annual Metrics'[ExpectedResultDate])),SELECTEDVALUE('Annual Metrics'[ExpectedResultDate],"NONE"),SELECTEDVALUE('Annual Metrics'[ExpectedResultDate])) Thank you,Solved1.4KViews0likes5Comments2 Column text box?
Currently using a text box with dynamic values to show 14 measures, but the text adjusts when the filters (customer) are changed and the formating goes all wonky (second image). Am i able to insert columns into the text box? or a table? or do i need to create a template externally and fill it with the text needed?Filtering by text within text column
Hello amazing community! Does anyone know if it is possible to create a mesure which will filter the column 'purpose' and return only those rows which contain exact wording, for example, 'design' as on the below screenshot? Many thanks for any formula suggestions! AnnaSolved541Views0likes2CommentsClear a Search text box in a slicer field
Hi , The search text entered in the slicer won't clear even after hitting eraser OR using book mark to clear default selection . We're seeing this issue on both on Power BI Desktop and Power BI Report Server ( not sure about Power BI Service, because we're using On premise PBI Report server ). Could you please let us know the solution to fix this issue . If this is expected behavior, kindly fix this in upcoming versions . Thanks in advance !3.9KViews0likes4CommentsIF between DATEs return a TEXT values, how?
Hello community I am having the below issue: DAX comparison operations do not support comparing values of type Date with values of type Text. Consider using the VALUE or FORMAT function to convert one of the values. I want to create a new column that checks if something (Clearing Date) happened between a period of 2 dates (Start reporting & End Reporting), in case of True return a text column with the responsible HUB and if false just type "Non Scope" HUB_Scope = IF ( T_[Clearing Date] >= RELATED ( T_Mapping[Start Reporting] ) & T_[Clearing Date] <= RELATED ( T__Mapping[End Reporting] ), RELATED ( T_Mapping[HUB_SCOPE] ), "NON SCOPE" ) Clearing Date. Start Reporting and End Reporting are Dates but HUB_Scope isnt. How can I can I make work the above formula ?? ThanksSolved1.4KViews0likes2CommentsCheck if rows contain a string value against an unrelated table
Hi, I have two tables in my dataset: Table1 is my transactions which have a description that looks like this: and Table2 is my legend table, where I define what each transaction belong to what category: My goal is to categorize each transaction based on the legend by looking for a piece of description column in the transaction column. So if a transaction contains "Desk", the column I'm going to create shows "Office Supplies". Here is what I've tried: I used a new custom column in Table 1 to check for 3 values and return true if they returned a value: List.Transform ( {"Desk", "Payroll", "Chair"}, (substring) => Text.Contains([Description], substring)) This returns a list of TRUE or FALSE based on the three examples I gave it. Potentially this can be used to get the first row that returns true and use that as a reference for the second column? I tried to do it in Excel, and essentially I had to use SEARCH fonction with INDEX and MATCH to get the category from a different table. My issue is that I have two tables that are not related and I'm not sure how to do a search for a piece of string for every row. I'm pretty new to PowerBI and I need some support please. TIA!Solved2.6KViews0likes4CommentsHelp with DAX measures with text not number
Hello, I am a network engineer trying to get my head around using Measures with DAX. Simply put, I have a list of IP Addresses I am trying to find the Owners and Hostnames for. It has some duplicates in it. I have been given a list of IP/Hostname/Owners in an Excel spreadsheet. My list: IP List Comment 10.1.1.1 Patched 10.1.1.2 New 10.1.1.3 Commissioned 10.1.1.3 Patched 10.1.1.5 New Given List: IP List HostName Owner 10.1.1.1 Mail Tom 10.1.1.3 DC **bleep** 10.1.1.4 Test Harry I would like to create a matrix/table that automatically checks if the IP addresses I have are in the provided table, and if so, 1: Tell me who the Owner is 2: Tell me what the Hostname is. 3: How many times the IP address is listed in my original table. I have tried to do this with measures, but I am having trouble finding good examples of how to do measures with Text values. There are lots of examples with dates and numbers. Would anybody be able to give me a hint?Solved1KViews0likes3CommentsUsing Period has text
In order to avoid using dates I have added a period column as text. As I need to source through fiscal periods. The start of the financial year is October, and that's my "FY22 P1". Unfortunately, the visualisations don't follow the periods in the order required. Any clues?Solved1.1KViews0likes1Comment