DAX Concatenate not working on text fields - concatenation

my .pbix is an import and I'm trying to take to simple text fields and create a DAX measure that concatenates 2 fields.
My DAX functions work on numbers and values, but when I try DAX functions on text fields like concatenate or concatenateX or combinevalues, none of these work
When I start building the simple formula, my power BI doesn't recognize the fields , despite the data imported into my PBIX.
Has anyone experienced this before and if so how did you resolve it? I've tried creating the fields in power Query with no issues, but my plan was to make conditional measures with my DAX concatenate measures.
I was able to create a really nice dashboard, but being able create additional functions, would be to take my report/dashboard to the next level. and I've been able to create plenty of DAKS measures using number values , but for some reason I can't seem to make measures out of text.
Help(!) Is appreciated!!!

Related

(SQL) DataTables server-side column sorting with dynamic columns

I believe this question is mostly related to SQL, but I will give context for what we are trying to do in case someone has done it before.
We are trying to implement DataTables JQuery plug-in with server-side processing using SQL Server for our ASP .NET Core MVC app. On top of that, we have dynamic columns, which we were able to generate for DataTables using this github code.
We have been successful in handling paging, entry #, and column searching processes (couldn't figure out global search, and we got column search to work only with SQL views). However, sorting columns are only handled partially.
The issue with column sorting is that we don't know how many and what type of columns could be returned. This means that there may be an NVARCHAR column containing strings that are currency ($3,403.09), or NVARCHARs that are regular numbers, and some of the values in those columns may be NULL. Same with dates with varying formats. We don't know how to handle sorting these NVARCHARs in SQL as the correct type instead of a string. Having said that, client-side DataTables is able to deal with identifying how data should be sorted.
I don't expect an answer, but if anyone has handled a similar situation, I'd greatly appreciate the help.

Excel: "Dynamic" CountIfs, MinIfs, PercentileIfs

I'm trying to make my spreadsheet as 'dynamic' as possible as I need to create a number of tables with different variables that influence the data in them... the variable columns will be the same for every table created, but the data within the columns may vary.
I noticed that wild cards in the cells themselves are helpful to a point. Where there's a SUMIF, COUNTIF, these are awesome for solving my problem... but if it's an embedded IF statement, the logical test can't equal the cell with the wildcard in without causing errors.
Ultimately I will have four data tabs and an abundance of different tables based on the variables. I would love to do this in pivot tables that would absolve me of this issue, however I can't figure out how to do percentiles in the pivots :)
For the Level column to calculate properly, I need to change the <> to = manually... which I am hoping to avoid if possible given the number of these I need to create

BigQuery Flatten or Unnest Repeated Field

I am new to BigQuery and not familiar with dealing with tables that have repeated rows. I am aware that in Standard SQL in BigQuery that it will automatically handle the repeated rows, and I have seen how that works. However, I am trying to bring the data into a visualization tool that isn't able to handle tables with repeated rows.
What I am trying to do is run a query that is going to save the data in a view with the data flatten (legacy language)/unnested (standard language). All I am trying to include in the result of the query is the fields:
id
itemizations (this is the repeated field)
Could you give me some input on how to accomplish this or what other information you might need to help provide an answer to this? Thank you in advance.

Fuzzy Logic Lookup - How to use calculated columns

We're starting to implement Unicode as we've added some international customers. There are some issues comparing character data in SSIS because of capitals, accents, and other data problems.
I've thought that the Fuzzy logic lookup could be a good solution. However, when testing this solution out, I realized that in a lot of our existing code we limit what data to process, and send in those values by parameters.
I've noticed that in the Fuzzy Lookup, I can specify the name of the table, but I can't make changes like remove a % from a field and turn it into a decimal. Any ideas how we can setup the lookup with calculated fields?
Thanks!
Create a view in your database with the proper transformation your require using a sql query.

What's the best way for developing a large amount of data in a Table View?

I'm a newbie to app development. I'm using Xcode 4.3.2. I'm attempting to develop an app using a tab bar with a table view. In the table view I need to list about 100 cities and info about those 100 cities when the user selects one. Basically, I already have that data about the cities in a Excel spreadsheet.
I can't really find good examples of what I want to achieve. I've heard the terms parsing XML, SQLite, Core Data, database, etc, and I'm not sure if that is what I need to do.
I'd thankfully accept any suggestions.
If the data in the table are changing or edited, then by using a database, you will avoid rolling a new patch with those minor changes (you just change the values in the db)
If the data is the same and won't change for a long time and you plan to patch the application, then you just need a source for that data (the spreadsheet)
For parsing the data, you can use anything, when taking about showing 100 cities, it depends how big the total data you will be querying, how fast it needs to be and you just need to benchmark it.
If you are querying about 500k records and you need to do some 'figuring out' and it takes too long to load. Then, transforming your data into xml then parsing it may give you better performance.
You have to at least design your way into what you want to achieve. Check the performance and tweak it to find the decent spot.
Right now I look at it as tackling an unknown problem. Spend some time and build something. This will help you see the potential problems better.
While databases are good, for a few hundred elements you can tolerate inefficiency. If your existing data are in an Excel spreadsheet, the easiest way to get them into your app is to export the Excel spreadsheet to Comma-Separated-Values (CSV), then make your app read CSV files. (If your Excel spreadsheet has multiple worksheets, you'll need to convert each separately.)
How do you parse CSV? See iPhone : How to convert CSV format into NSData or NSString?
You'll end up with arrays of arrays of NSString. You'll probably need to define a new class for your city data, and convert each row in the imported data to one city element.
If you need to know more, posting a few rows from your spreadsheet may help.

Resources