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.
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?
This is my desired result:
Field A | New column |
Yo | 0 |
Hello | 1 |
Hello | 1 |
Yo | 0 |
Hello | 1 |
@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?
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
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCovering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
109 | |
89 | |
76 | |
67 |
User | Count |
---|---|
125 | |
111 | |
100 | |
83 | |
71 |