Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Data:
Product | Date |
A | 1-Apr |
A | 2-Apr |
A | 3-Apr |
B | 1-Apr |
B | 2-Apr |
C | 1-Apr |
To get previous date
i need
if there is previous date even if current date is blank then show me
Solved! Go to Solution.
Hi @ddpl ,
A table of dates needs to be created (no need to create a relationship). Then create the following formula that will get the blank values.
MEASURE =
IF (
ISBLANK ( [Pre_Dt] ),
CALCULATE ( MIN ( 'Table'[Date] ), 'Table'[rank_] = 1 ),
[Pre_Dt]
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ddpl ,
A table of dates needs to be created (no need to create a relationship). Then create the following formula that will get the blank values.
MEASURE =
IF (
ISBLANK ( [Pre_Dt] ),
CALCULATE ( MIN ( 'Table'[Date] ), 'Table'[rank_] = 1 ),
[Pre_Dt]
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
88 | |
86 | |
82 | |
66 | |
49 |
User | Count |
---|---|
138 | |
110 | |
104 | |
66 | |
64 |