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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
BPTBPTBPT
Helper I
Helper I

New simple measure help

Hello,

 

I am working with a live connection to a datawarehouse.

In my report, I would like to make a measure that creates a new column with a "1" for every "hello" in field A. If there is no X, the column should result in something else (e.g. "0").

How do I do that using (quick) measure? What calculation must I choose?

 

BPTBPTBPT_1-1674761271896.png

 

This is my desired result:

Field ANew column
Yo0
Hello1
Hello1
Yo0
Hello1

 

 

2 REPLIES 2
BPTBPTBPT
Helper I
Helper I

@MFelix Thanks.

The context is as follows:

I have a list of projects in a table. There a re a lot of ones with "hello" in the field A. I need those to be filtered out. However, NEW projects, that will occur after today, could have "hello" in field A, and I DO need these. 

 

I did not think my initial question through, though. Is there a better solution?

 

MFelix
Super User
Super User

Hi @BPTBPTBPT ,

 

For this you cannot use a quick measure. Taking into account that this is a live connection you cannot add a new column to your data model.

 

What is the purpose of this column on you model?

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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