Power query keep formatting after refresh

CuriousGeorge67

New Member
Joined
Oct 22, 2018
Messages
2
I'm using PQ to get data from an external source.

I'd like to change formatting for those records that are retrieved, but the formatting seems to disappear if I refresh.

What are the recommended methods to keep the formatting during a refresh.

BTW, I do have the checkbox checked that says "preserve cell formatting" and "preserve column sort/filter/layout".

The formatting seems to "move" when new records arrive.
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Your formatting needs to be done within PQ, not within Excel if that makes sense.

If you want a number to appear as a decimal number to appear as a whole number that needs to be a rule within PQ by changing the data type.

You did not really give an example so I am not sure if that answers your question
 
Upvote 0
Thanks.

I should have said formatting like, changing a cell with color while I'm working with it.

So for example, I have several rows that I would like to format with the fill color green. 
But after I do that and hit refresh, that coloring seems to "move" to other rows....so it looks like the formatting becomes specific to the row it was applied to.

 
This PQ becomes a working document...but maybe PQ doesn't really work that way.

Just looking for a way to work with it so this sort of thing doesn't happen.


In the end, the query creates a worklist that I'm then formatting with green as I get items done.


Thanks!
 
Upvote 0
It sounds like your issue is not PQ then. It sounds like you need to write an if formula for conditional formatting within excel
 
Upvote 0

Forum statistics

Threads
1,213,563
Messages
6,114,332
Members
448,566
Latest member
Nickdozaj

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top