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
thebigwhite
Helper II
Helper II

Date Format on dataset Level

Hello, 

I would like to give the possibility to the users to change the format of the columns on a report based on a Daset already prepared. 

What I have found out is that only possibile to change the format of a column by preparing a new measure on that field. 

Isn't a way for allowing users to change the date format of a dateset when they are preparing the report? 

Thanks 

 

1 ACCEPTED SOLUTION
SpartaBI
Community Champion
Community Champion

Hi @thebigwhite,
A column format string is a hardcoded property at the tabular model level.
A report builder, using a live connection, cannot change it directly.

You have a couple of options:
1. Use DirectQuery for Power BI datasets and Azure Analysis Services to connect to the dataset, instead of a live connection. This will create a local model with metadata that can be changed- So a report builder will be able to set a different format string. Note that this capability is in preview and has limitations. It also complicates your solution and has other drawbacks.

SpartaBI_1-1651140355632.png
2. Set a date format with an asterisk- Those will change the end-user display based on its regional settings.

SpartaBI_0-1651139754589.png

 


 

View solution in original post

1 REPLY 1
SpartaBI
Community Champion
Community Champion

Hi @thebigwhite,
A column format string is a hardcoded property at the tabular model level.
A report builder, using a live connection, cannot change it directly.

You have a couple of options:
1. Use DirectQuery for Power BI datasets and Azure Analysis Services to connect to the dataset, instead of a live connection. This will create a local model with metadata that can be changed- So a report builder will be able to set a different format string. Note that this capability is in preview and has limitations. It also complicates your solution and has other drawbacks.

SpartaBI_1-1651140355632.png
2. Set a date format with an asterisk- Those will change the end-user display based on its regional settings.

SpartaBI_0-1651139754589.png

 


 

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.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

Top Solution Authors