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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
sam333
New Member

Record all the applied steps in Dataflow/power query editor with Dates-Activity logs

Hi Team,

I have a table in  dataflow and applied some transformations on that .

table name:Empdetails

initial table is in below snap

 

sam333_0-1693571441700.png

i have applied some transformations on that like below

 

#"Renamed columns" = Table.RenameColumns(#"Navigation 2", {{"nam$e", "name"}, {"ag*e", "age"}, {"gen_der", "gender"}, {"sala@@ry", "salary"}, {"id_?", "id"}}),
  #"Uppercased text" = Table.TransformColumns(#"Renamed columns", {{"location", each Text.Upper(_), type nullable text}}),
  #"Split column by delimiter" = Table.SplitColumn(#"Uppercased text", "name", Splitter.SplitTextByDelimiter(" "), {"name.1", "name.2"}),
  #"Renamed columns 1" = Table.RenameColumns(#"Split column by delimiter", {{"name.1", "FirstName"}, {"name.2", "LastName"}}),
  #"Capitalized each word" = Table.TransformColumns(#"Renamed columns 1", {{"FirstName", each Text.Proper(_), type nullable text}}),
  #"Capitalized each word 1" = Table.TransformColumns(#"Capitalized each word", {{"LastName", each Text.Proper(_), type nullable text}})
in
  #"Capitalized each word 1"
 
final Dataflow table is like below
sam333_1-1693572080245.png

 

 Applied transformations are:
Transformations 1-Renaming column
Transformations 2-Upper case
Transformations 3-Split column
Transformations 4-Renaming column
Transformations 5- Capitalization
 
I have no issue with code and transforamtions.
 
so in adavnce query editor we will get all the M code,
but here i need to record the activity log time and date
Eg:
Transformations 1-Renaming column  9/1/2023 18:05
Transformations 2-Upper case  9/1/2023 18:06
Transformations 3-Split column  9/1/2023 18:07
Transformations 4-Renaming column  9/1/2023 18:08
Transformations 5- Capitalization  9/1/2023 18:10
like this, if in future if i apply any change in any one of the transformations, then i need to capture that date and time and person name who changed that transformation, 
I know we dont have this option in Dataflow/PQE as of now, but i need to achieve this.
 
after creating dataflow, i will call that dataflow into the pipeline and after that by using script activity we may achiieve that(i heard it some where), but i am not getting any idea to achieve this by using script activity
 
can some body help me to get out of this.
TIA
 
 

 

 

 

 

 



1 ACCEPTED SOLUTION
miguel
Community Admin
Community Admin

Hi!

What you could potentially do today is try to use a Git-like approach where you copy your M script into a repository that will track the changes of your M script. That way you can see who committed what and when did it occur.

 

At the moment this functionality is not available today in Powe Query or Dataflows, but you can post this as a new idea on the Fabric Ideas site:

https://aka.ms/FabricIdeas 

View solution in original post

1 REPLY 1
miguel
Community Admin
Community Admin

Hi!

What you could potentially do today is try to use a Git-like approach where you copy your M script into a repository that will track the changes of your M script. That way you can see who committed what and when did it occur.

 

At the moment this functionality is not available today in Powe Query or Dataflows, but you can post this as a new idea on the Fabric Ideas site:

https://aka.ms/FabricIdeas 

Helpful resources

Announcements
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

Check out the July 2025 Fabric update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors