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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
CA8172
Helper I
Helper I

Creating a Column AND then creating a diff table with different values

I am not sure if this is an option, but I have tried many things but it is not working the way I want, so I'm here asking for help to see if this is an option, and if so, how do I complete this request.

 

I have a table that has several different fields including: Market, Date, and Period.  Below is an example of the data:

ss.png

 

 

This table will continue thousands of data, since we have information for each day, each market for several periods.

 

 

 

 

What I have created is a matrix that highlights the days that need to be reviewed (normally due to a drop in volume) with an IF formula ....  Researched = IF ( ALL_CYCLE [CHANGE] <0, 5, IF (ALL_CYCLE [CHANGE] = 0, 0, IF ( ALL_CYCLE [CHANGE] >0, 10, 0)))ss01.png

 

What I am looking for is creating another column named "Research" for those Market-Days-Periods that were researched, so we can change the matrix color from teal to yellow.  I know I can do this through conditional formating, however I don't know how to use a new table or merged duplicate table to update those accordingly.

 

I have created a column with "Research" and made them all '0'.  Then used the Append Query as New and duplicated the original query.  I filtered out a few Market-Day-Periods and used Replace Values to '20' so I could use conditional formating to change that.  However I am unable to update the above "IF Formula" to include IF ( Updated_ALL_CYCLE [Research] = 20, 20) since it won't pick up the second query within the formula.

 

Any assistance would greatly be appreciated.  Thanks in advance!

1 REPLY 1
v-lili6-msft
Community Support
Community Support

hi, @CA8172

first, the column that added by DAX in modeling couldn't be used in Edit Queries, 

Could please share your simple sample pbix file or some data sample and expected output. You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.

 

 

Best Regards,

Lin

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

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors