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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
TaufikMaggangka
Helper II
Helper II

Measure for Text in Direct Query Mode.

Hi All,,,

I need help with "Direct Query" mode.

Basically, I want to retrieve value from column into new value. I try with custom column but not working in the "direct query mode".

Here my sample column and the value, I name it:
"CovidSymtptomsScreen"

fever lossofsmell cough
cough fever
fever lossofsmell
headache cough


I hope the result if I create table visualization will be like this :
"CovidSymtptomsScreen"

Fever, Loss of smell, Cough
Cough, Fever
Fever, Loss of smell
Headache, Cough


Stress about this, I try a lot of different ways such as using text.combines, text.contains with if statement but doesnt work in directquery mode. Some one told me that it can be done with measure, but quite confusing since he didn't give me an example of measure and i am new with power bi.

Your prompt response will be appreciated.

Thank you,

5 REPLIES 5
Tanushree_Kapse
Impactful Individual
Impactful Individual

Hi @TaufikMaggangka ,
Try using this DAX to substitute the space with comma:
Measure= SUBSTITUTE(Table[CovidSymtptomsScreen]," ", ",")


34.PNG

Hi @Tanushree_Kapse , i would like to try but cant found my name of my table. please image atatched

@TaufikMaggangka , you are writing the syntax wrong.
One equal to sign only!!

Hi @Tanushree_Kapse 
I have delete the = but still cannot find the table.

@TaufikMaggangka , instead of measure... create a new column and use the formula

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.