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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
matemusic
Advocate III
Advocate III

How to organize measures names

Hi,

 

is there any simple way to use same name of measurement for different formula?

For example, I have two report pages with different calculation. On both pages I have table with same column names, but on each table are different formulas. 

One table has column name Sales, which is simple calculating total sales.

On the other table I have cumulative of total sales, but i want to name it just Sales.

 

I did a simple trick: Just add space after Sales (one is "Sales", other is "Sales "). But it is not best method, beacuse it is hard to distinguished them. 

 

I tried with commenting (/*Cumulative*/ Sales), but the comment is then showed on table too.

 

Thanks

Regards

Mate

3 REPLIES 3
Seth_C_Bauer
Community Champion
Community Champion

@matemusic If you are asking about measure naming conventions, I would recommend making a distinction between the two. You would have no way to tell in the model which measure was which using your current method. Others may have a different opinion, but I typically use the main name first with either an underscore or camel case to describe the measure.

Example:

Sales_Avg

Sales_CuTotal

Sales_Total

 

or 

SalesAvg

SalesCuTotal

SalesTotal

 

In this regard, all your measures related to sales are in the same location in the table for a specific measure you or an end user is looking for.

 


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Hey, thanks for your answer and sory for lack of clarity, i am not so good at expressing in english 🙂

 

Yes, I was talking about different measures with the same name. I don't realy want them to have the same name on list of measures, but I want the same name on report, beacuse some visualisations require minimal changes to get expected result.

 

Thanks  🙂

 

Greg_Deckler
Super User
Super User

A little confused. You can have the same column name in 2 different tables. Are you referring to "measures"? Because you cannot have 2 measures with the same name.



Follow on LinkedIn
@ 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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.