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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Monthly data to quarterly in dax

Hello All,

 

I have a table having monthly data like below and I need to calculate the quarterly data based on monthly .

and need to show quarter start date as date for each quarter like below

 

Not sure how to write dax for this

Could any one please help how to do as I am new to power BI.

 

 DateSales 
 1/1/2022200Q1
 2/1/2022100
 3/1/2022400
 4/1/2022500Q2
 5/1/2022300
 6/1/2022700
 7/1/2022600Q3
 8/1/2022800
    
Requirement   
Quaerterly   
 DateSales 
 1/1/2022700 
 4/1/20221500 
 7/1/20221400 
1 REPLY 1
johnt75
Super User
Super User

Create a proper date table with columns for quarter, start of quarter, and anything else you might want to slice on, then link that to your fact table. For the start of quarter column you can use the STARTOFQUARTER function.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.