Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
hi all
whats the formula to calculate the days gap between each of the entry?
line1: nov 4 to nov 11
line2: nov11 to nov 27
line3: nov27 to Dec 1
Solved! Go to Solution.
Hi @learning_going
The first step is to add an index column from PQ (after sorting the table by the column of the wanted date)
after you have an index column you can use a formula like : (replace parameters to the yours)
PBIX with the example is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Hi @learning_going
The first step is to add an index column from PQ (after sorting the table by the column of the wanted date)
after you have an index column you can use a formula like : (replace parameters to the yours)
PBIX with the example is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
what element do i need to add in, to allow filtering based on the text as criteria?
i tried a few workout, to get the gap by the lot no; cant seem to get the result i wanted
I apologize, but unfortunately I'm having trouble understanding what exactly you're trying to do. Please provide an example of the data and the desired result.
I also understand that this is a new topic, so I recommend asking it separately as an independent post.
tried altering to this
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!