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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
WojnarBSF
Frequent Visitor

Rename Hierarchy level in Matrix visual

Hello,

 

I have a simple matrix and I would like to rename one of the date hierarchy levels: QTR 1 to Q1, etc. Is it possible?

image.png

 

 

image.png

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@WojnarBSF , You can not rename. You have to create you own custom date table and columns(and Hierarchy), of needed

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

View solution in original post

Thank you very much for this advice. I've just created a custom date table that fulfills my requirements.

WojnarBSF_0-1630062658760.png

 

DAX:

 

Date = ADDCOLUMNS (
CALENDAR (DATE(2019,1,1), DATE(2025,12,31)),
"DateAsInteger", FORMAT ( [Date], "YYYYMMDD" ),
"Year", YEAR ( [Date] ),
"Qtr", "Q"&QUARTER([Date]))

 

 

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@WojnarBSF , You can not rename. You have to create you own custom date table and columns(and Hierarchy), of needed

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Thank you very much for this advice. I've just created a custom date table that fulfills my requirements.

WojnarBSF_0-1630062658760.png

 

DAX:

 

Date = ADDCOLUMNS (
CALENDAR (DATE(2019,1,1), DATE(2025,12,31)),
"DateAsInteger", FORMAT ( [Date], "YYYYMMDD" ),
"Year", YEAR ( [Date] ),
"Qtr", "Q"&QUARTER([Date]))

 

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.