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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
bhaskarasalla
Frequent Visitor

capture date when product price change from 0 to some number

Hey PowerBi Community,

I need your assistance to resolve one issue-
Problem statement goes like this-

I get one table from client at every 3 hours having ProductName & Price,
generally price having 0 values
I need to capture that date on which this Price get change from 0 to some no for product

say on 1st aug i got this table
Product Name    Price
A                          0
B                          0
C                          0
D                         0

i will refresh this report every 3 hours, lets say on sep 12, product B price get change to some value (other than 0) say 25,
i have to capture that date for product B,

when client refresh this report on any day say sep 15,
report should look like
PruductName   Price            DateChange
A                        0               -(or lets say current date)
B                       25                 sep 12,2019
C                       0                 -(or lets say current date)
D                      0                 -(or lets say current date)

I am trying to store this datechange column in some dummy table
but still havent got any solution.

Let me know if you any solution for this problem
Thanks

1 ACCEPTED SOLUTION
JosefPrakljacic
Solution Sage
Solution Sage

Hey @bhaskarasalla,

 

I don't think Power BI will do this alone. I'd also like to know if you have PowerBI Premium where you could use the Incremental Refresh?

 

Why do I whink that this wont work?

 

You need the information that the data has changed. So an UpdateDate for instance (then it could work with the Incremental Refresh maybe).

 

If you don't have a premium then you will need a place to persist the old data.

 

-OR-

 

You'd always have to load two tables -> the new one and the old one to compare, but without a Perstization logic for the old data (and how to determine "old data"?)  on a server you won't be able to do that.

 

If this post was helpful may I ask you to mark it as solution and give it some kudos?

Have a nice day!

BR,
Josef

View solution in original post

2 REPLIES 2
JosefPrakljacic
Solution Sage
Solution Sage

Hey @bhaskarasalla,

 

I don't think Power BI will do this alone. I'd also like to know if you have PowerBI Premium where you could use the Incremental Refresh?

 

Why do I whink that this wont work?

 

You need the information that the data has changed. So an UpdateDate for instance (then it could work with the Incremental Refresh maybe).

 

If you don't have a premium then you will need a place to persist the old data.

 

-OR-

 

You'd always have to load two tables -> the new one and the old one to compare, but without a Perstization logic for the old data (and how to determine "old data"?)  on a server you won't be able to do that.

 

If this post was helpful may I ask you to mark it as solution and give it some kudos?

Have a nice day!

BR,
Josef

KevinParijs
Frequent Visitor

Hi @bhaskarasalla ,

I'm pretty new to DAX so I can only give you a suggestion, hopefully this helps you.

 

If I would have to tackle this situation I would use Microsoft Flow to read the excel file and write it to an PBI dataset.
I would expect that this is also possible with appending queries through the Power Query Editor.

 

Regards,

K.

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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

Top Kudoed Authors