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

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.

Reply
shahinnakhai
Frequent Visitor

Comparing Data status of job in different versions

Hello,

I have data set for job status of a company. My data include version column position ID and status of those position (open and filled) beginning date fiscal period etc. Each position ID is unique. Each month new version will be added to our data.
I want to be able to compare each version to another and see if the status of the job changed between those jobs and list those jobs that their status changed from Open to Filled and vice versa. Also list new jobs which exist in one version but not on the other one.
I am using Direct Query. you can find part of my data set header. New version will add in each column.Capture.PNG

I really appreciate your help.
Shahin

2 REPLIES 2
v-eachen-msft
Community Support
Community Support

Hi @shahinnakhai ,

 

You could use RANKX() function to create a rank column based on the column you have group to sort your data.
Then get the data of previous version with EARLIER() function and compare them.
You could refer to this sloved case:

https://community.powerbi.com/t5/Desktop/DAX-getting-previous-value/m-p/489921

 

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

Thank you for your response. I think that is totally different with what I am looking for.

 

Here is an example 

Capture1.PNG

I want to be able to compare different Version's PositionID and see the change on it. Also I have more than two version and I want to be able to choose for example version 1 with 2 or version 1 to 5 or 2 to 6 and so on. I want to be able to pick versions and see comparison resault on the report.

 

Best,

Shahin 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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