Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
flennon
Frequent Visitor

DAX Measure with REST API dataset

I've created a Push streaming dataset, and I'm trying to combine two of the columns (Strings) into a new measure. I've looked up the syntax which displays the following:correctSyntaxDax.JPG

When I try it shows an error. This syntax works correctly when I'm connecting to a database, but shows an error with the streaming dataset. I'd say that it just wasnt possible to create a measure for a streaming dataset, but it gives you the option to create one, when it doesnt give you the option to create a custom column. Can anyone advise on what I can do?

errorSyntaxDax.JPG

 

1 ACCEPTED SOLUTION

Measures I found needed an aggregate applied to them. 

 

I wanted to combine the two strings so that both values would appear on the X-axis of a chart as I thought before it would only display one value or the other. This was resolved by selecting the view 'At Lowest Level of Data' as seen below. Thanks for the help.

delme.png

 

 

 

View solution in original post

4 REPLIES 4
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @flennon,

 

That's a common error in a measure. That's because a value of these column can't be determined. Please try it like below.

=concatenate(min('products'[Product abbreviation]), min('products'[Product number]))

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for the reply Dale.

 

I had copied the syntax from the MSDN Docs here

 

I attempted to add in the min() to the formula but the values I'm trying to concatenate are strings. It did not give a syntax error but the formula does not display any values as shown below. Any further advice would be greatly appreciated. 

 

minError.JPG

 

 

 

Hi @flennon,

 

How about adding the measure in the table, the right one in your snapshot? Or you can change the left visual into a Card visual. Your old formula can work in a calculated column that isn't supported in your scenario.

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Measures I found needed an aggregate applied to them. 

 

I wanted to combine the two strings so that both values would appear on the X-axis of a chart as I thought before it would only display one value or the other. This was resolved by selecting the view 'At Lowest Level of Data' as seen below. Thanks for the help.

delme.png

 

 

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.