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
AdrianSantos___
Regular Visitor

Format Date fields in a shared PowerBI dataset with read-only permission

Hello everyone,

 

I work with a shared PowerBI dataset with read-only permission, therefore I cannot edit or format any fields.

 

My issue here is with the data fields, that are formated as Date/Time and therefore will show up with either as a hierachy (4 fields) or a full date with time included.

 

AdrianSantos____2-1644234437977.png

 

AdrianSantos____1-1644234380500.png

There is no dimensional table for the dates, all dates are fields within the fact table. I wish to present the dates as a DD/MM/YYYY format without the time stamp but I cannot format the field, and trying to create a measure formating the date or extracting the month does not work. Could there be any solutions other than ask for a format change in the source?

 

Thank you!

  

1 ACCEPTED SOLUTION
v-luwang-msft
Community Support
Community Support

Hi @AdrianSantos___ ,

test measure like below:

Measure = FORMAT(MAX(table2[Date]),"DD/MM/YYYY")

vluwangmsft_0-1645176551148.png

Use account:

vluwangmsft_1-1645176586139.png

Dataset:

vluwangmsft_3-1645176644811.png

 

Permission(read-only):

vluwangmsft_4-1645176847215.png

Did I answer your question? Mark my post as a solution!


Best Regards

Lucien

View solution in original post

5 REPLIES 5
v-luwang-msft
Community Support
Community Support

Hi @AdrianSantos___ ,

test measure like below:

Measure = FORMAT(MAX(table2[Date]),"DD/MM/YYYY")

vluwangmsft_0-1645176551148.png

Use account:

vluwangmsft_1-1645176586139.png

Dataset:

vluwangmsft_3-1645176644811.png

 

Permission(read-only):

vluwangmsft_4-1645176847215.png

Did I answer your question? Mark my post as a solution!


Best Regards

Lucien

Hello @v-luwang-msft thank you for your reply! That's a pretty ingenious workaround for the problem.

amitchandak
Super User
Super User

@AdrianSantos___ , if you are using dataset, you can change column properties. You need to ask dataset owner.

The measure will not work in your case.

Check, are you allowed to change column property using column tools?

No, there is no way to format any column. Is there no way to create any measure to yield a date field?
As @arock-well  mentions, a development to allow data formatting from a read-only dataset would be most helpful.  

@amitchandak 

Are you aware of any future updates that will allow report developers to make custom measures in a report like @AdrianSantos___ is asking for without requiring the dataset owner make those changes to the original dataset? 

 

To me it doesn't make sense why the whole dataset needs to be updated for something very basic like this date formatting issue, especially if it's just a one-off update that a particular report is needing.

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.