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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Pallek
New Member

Dynamic index based on time hierarchy

Hi

 

New to PowerBI and facing some challenges.

 

I have a dataset like below:

BrandMonthYearSales
AAugust2014125
BSeptember2014124
COctober2014414
AAugust2015134
BSeptember2015200
COctober2015500

 

Based on the dataset I have created a custom time hierarchy to fit our Financial year, and that works fine. However, I need to be able to see an Index on Month to Month growth and all other elements in my time hierarchy (Month-Quarter-Financial Year).

 

How do I accomplish this in PowerBI?

 

Thanks

2 REPLIES 2
v-micsh-msft
Employee
Employee

Hi Pallek,

Could you please share more details about the time Hierarchy that you created for the Financial Year?

By the way, what do you mean by saying “an Index on Month to Month growth and all other elements in my time hierarchy”?

If you mean a Continuous period of time, then we could take use of date table with the calendar function.( Returns a table with a single column named “Date” containing a contiguous set of dates). Then use the Year, month function to create the Year and month column.

For Quator, QuarterofYear = ROUNDUP (MONTH([Date])/3,0).

See a thread for reference: https://community.powerbi.com/t5/Desktop/Possible-Tip-Trick-Dynamic-Date-Dimension-Table/td-p/8462

To match the Financial month, if July is the First financial month, then we could create a new column with the formula below:

Financialmonth = If(month(Datetable[date])>=7, month(Datetable[date])-6, month(datetable[date])+6)

FinancialQuarter calculation should be similar with FinancialMonth.

FinancialQuarter = if(ROUNDUP (MONTH([Date])/3,0)>=3, ROUNDUP (MONTH([Date])/3,0)-2, ROUNDUP (MONTH([Date])/3,0)+2)

10.PNG

If any further assistance needed, please feel free to post back.

Regards

Greg_Deckler
Super User
Super User

Do you have a date table that reflects your Financial year? Most likely, that is what you are going to need in order to do time intelligence type stuff. You can use DateStream in the Azure Data Marketplace and there are a lot of other ways to quickly generate a date table.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.