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
sivarajan21
Post Prodigy
Post Prodigy

How to make two date columns into a single column of date/data to visualize units/cost

Hi Dear Community experts,

 

I have the following issue of creating only one column out of these 2 date columns in Power BI query editor.

I need two columns to show in visualization out of which one is Units column which is already present here readily.

But I am having hard time in converting this two date columns(Date,Date_previous) into a single column in query editor.

This single column may be in any format like periods, dates etc.

I have attached the screen shot here of the source file.

sivarajan21_0-1671020698667.png

I want it to look like below (but necessarily month, it can be spread into 13 periods or full dates etc)

sivarajan21_1-1671021182743.png

Looking forward to your response.

 

Cheers,

Siva

3 REPLIES 3
sivarajan21
Post Prodigy
Post Prodigy

Hi Guys,

 

I would appreciate your help on this?

 

Cheers

Mahesh0016
Super User
Super User

@sivarajan21 
Try this if helpful...
Date.From((Number.From([Date1]) + Number.From([Date2]))/2)

Hi Mahesh, 

 

Thanks for your prompt response, Is there any other different solutions that I can try in Dax?

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.