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
maracles
Resolver II
Resolver II

Measure naming conventions

Hi,

I'm wondering if there is a generally agreed naming convention for measures? I have been quite inconsistent with my naming and I want to know go through and update them all using a convention that I can also use going forward.

My problem so far is striking a balance between something being human readable whilst simultanesouly giving me enough information to understand what is being measured without looking at the DAX. I would love if Power BI would allow you to have a measure name for internal use (i.e. when working in Power BI Desktop) and then a friendlier name which can be listed for users accessing via Power BI service.

 

It would be interesting to hear what other people are doing...

 
1 ACCEPTED SOLUTION
KHorseman
Community Champion
Community Champion

There isn't really an industry standard that I've ever seen, but you can fake the internal name/end user name functionality. Define your internal use measure, then define a second measure that simply points at the first.

 

measureWithNamingConvention = CALCULATE(SUM(blah blah blah), FILTER(whatever, you get the idea))

Friendly End User Measure = [measureWithNamingConvention]

If you're sharing content packs, I believe you can also hide measureWithNamingConvention (right click, hide) so the end users only see the friendly version when they go to customize their own thing. I haven't played with the hide functionality much though, so somebody else feel free to chip in here.





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

Proud to be a Super User!




View solution in original post

1 REPLY 1
KHorseman
Community Champion
Community Champion

There isn't really an industry standard that I've ever seen, but you can fake the internal name/end user name functionality. Define your internal use measure, then define a second measure that simply points at the first.

 

measureWithNamingConvention = CALCULATE(SUM(blah blah blah), FILTER(whatever, you get the idea))

Friendly End User Measure = [measureWithNamingConvention]

If you're sharing content packs, I believe you can also hide measureWithNamingConvention (right click, hide) so the end users only see the friendly version when they go to customize their own thing. I haven't played with the hide functionality much though, so somebody else feel free to chip in here.





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

Proud to be a Super User!




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.