Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
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.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
84 | |
83 | |
64 | |
60 | |
55 |
User | Count |
---|---|
179 | |
108 | |
105 | |
71 | |
70 |