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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
netanel
Post Prodigy
Post Prodigy

SHOW CHANGE

Hey All!

I have 2 file Jan & Feb

new5.JPG

 

 

 

 

 

The append its the file i work on

in the append i have a column call "file" that give me to a distinction between the files

new 6.JPG

 

 

 

 

 

 

 

 

 

 

 

 

I want to create a column that will show me the change between the January file and the February file
I mean if a person changed work ann site I will see the change in another column

Example of data:

NEW 4.JPG

 

 

 

 

 

 

 

 

 

 

Thanks!

 








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

Connect on Linkedin
linkedin.com/in/netanel-shriki
1 ACCEPTED SOLUTION

This is the Solution

_Site =
VAR _diff_Site =
CALCULATE (
MAX ( Append2[Finance Site] ),
FILTER (
Append2,
Append2[First Name] = EARLIER ( Append2[First Name] )
&& Append2[Person Number] = EARLIER ( Append2[Person Number] )
)
)
RETURN
IF ( _diff_Site <> Append2[Finance Site], "change", BLANK () )
Thanks All!







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

Connect on Linkedin
linkedin.com/in/netanel-shriki

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@netanel ,

 

create a separate table with file name join with table

 

The create measure like

New measure =

var _file1=  calculate(max(Table[Job]) , filter(allselected(File), File[File] = "File1") )

var _file2=  calculate(max(Table[Job]) , filter(allselected(File), File[File] = "File2") )

return

if(Max(File[File]) ="File2" &&  _file1 <> _file2 , "red", "black")

 

Use this measure in conditional formatting using the field value option

 

How to do conditional formatting by measure and apply it on pie?: https://youtu.be/RqBb5eBf_I4

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

@amitchandak 

 

Hi thanks for the help but something goes wrong
Both in formula and in logic

In Excel it's simply Velookap between sheets
When the key is a Employee number\ID
Then where the columns are not same there is an N\A and this is an indicator that there is a change between the files
Here I understand need a calculated column or VAR as you did
But it does not work out

Maybe I did not explain myself well
Tell me what's missing and I'll try to be precise

Thanks!

new 7.JPGnew 8.JPG

 

 








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

Connect on Linkedin
linkedin.com/in/netanel-shriki

This is the Solution

_Site =
VAR _diff_Site =
CALCULATE (
MAX ( Append2[Finance Site] ),
FILTER (
Append2,
Append2[First Name] = EARLIER ( Append2[First Name] )
&& Append2[Person Number] = EARLIER ( Append2[Person Number] )
)
)
RETURN
IF ( _diff_Site <> Append2[Finance Site], "change", BLANK () )
Thanks All!







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

Connect on Linkedin
linkedin.com/in/netanel-shriki

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.