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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Hijbul_Bari
Frequent Visitor

Difference between two rows

Hi 

Can you please help me to find DAX for change%. "Month" is not a date column (its a text value) and CSAT came from another Measure (Average of Score). I need to calulate percentage difference. As there is no date or index column in dataset, so is it possible to calculate the %difference through Earlier or any other simple function.

  

DistributorMonthCSATChange%
AJan94.67% 
AFeb92.52%-2.26%
AMar92.84%0.34%
BJan96.10% 
BFeb96.21%0.11%
BMar95.45%-0.79%
CJan96.84% 
CFeb94.02%-2.91%
CMar95.22%1.27%

 

 

3 REPLIES 3
Jihwan_Kim
Super User
Super User

Hi, @Hijbul_Bari 

Please correct me if I wrongly understood your question.

In my opinion, if you want to achieve this by writing a measure, there have to be some criteria that tell Jan is earlier than Feb, and Feb is earlier than Mar.

I just assumed this and created a sample by myself.

If the below sample (link down below), does not suit your case, please share your sample file's link, then I can try to look into it and come up with a more accurate measure.

 

The measures that I used are in my sample pbix file.

Picture2.png

 

https://www.dropbox.com/s/3fa608ymcfd9zcq/Hijbul%20Bari.pbix?dl=0 

 

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Thanks a lot. Your concept is right. But I don't have any Date table. The Month Name is a nothing but a "Text" like Jan, Feb etc came from Raw data. Is it possible without date/time intelligent fuction, get the same output using any other function like "Earlier"?

For better understanding if I remove Month and bring product column then output should be the following way. Means it always compare upper two rows and give the Percentage Change.

image.png

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.