Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hello Friends,
I stuck on some issues calculating the difference between two rows.
I have a running hour of equipment which is always increasing and data saved in excel on daily basis.
I wast BI to calculate the difference from the first day of every month.
I want to calculate the yellow highlighted rows.
any one please help me.
Thanks
Asif
Hi @Anonymous ,
Did the above post solve your problem?
or just assume i want to take a difference of each rows, last-previous
Hi,
If I understood correctly, You want to calculate the amount for the first of the month - Amount for the first of the previous month.
For this purpose you could use the below code for creating the measure :
Appreciate your Kudos and please mark it as a solution if it helps you.
Hi,
I am not sure about how your datamodel looks like, but if your filter context is Date level, please try using DATEADD DAX function in your measure.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
86 | |
69 | |
66 | |
51 | |
33 |
User | Count |
---|---|
114 | |
97 | |
75 | |
65 | |
39 |