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

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.

Reply
winglui
Regular Visitor

Create measurement based on parameters

Hi everyone,

 

I am new to PowerBI so I am not too sure is this very hard to achieve.

I created two parameter fields like below and  would like create some visuals on the days difference 

I am not too sure how to write a measure for calculating the start and end date, and which table should the new column be under.

winglui_0-1705396022091.png

Thanks a lot

 

1 REPLY 1
mh2587
Super User
Super User

DaysDiff = DATEDIFF(<Date1>, <Date2>, <Interval>)//Put Day in interval

Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.