Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
@Anonymous
So again.. it's a measure. Please try
=
SUMX (
VALUES ( 'Customers'[Store Names] ),
DIVIDE (
[Custom $ Sales],
CALCULATE ( [Sales of the total market], ALL ( 'Customers' ) )
) * 100
)
Hi @Anonymous
What do have on the rows of your table/matrix visual? How many source data tables are involved in the two measures? what is the dax for both measures?
So for Custom $ Sales, I've created this measure to bring Sales from all my customers. There's just one source table for the Custom $ sales, and then sales of the total market is also it's own measure in the table.
My retailer names come from table: 'Customers'[Store Names], Custom $ sales is 'Sales'[Custom $ Sales] and then Sales of the total market is from 'Sales'[Sales of the total market]
@Anonymous
Please try
=
SUMX (
VALUES ( 'Customers'[Store Names] ),
DIVIDE (
CALCULATE ( SUM ( 'Sales'[Custom $ Sales] ) ),
CALCULATE ( SUM ( 'Sales'[Sales of the total market] ), ALL ( 'Customers' ) )
) * 100
)
Hey! I tried this, but for the 'Sales'[Custom $ Sales] it says they're not the right parameter... I created these measures within 'Sales'
@Anonymous
So again.. it's a measure. Please try
=
SUMX (
VALUES ( 'Customers'[Store Names] ),
DIVIDE (
[Custom $ Sales],
CALCULATE ( [Sales of the total market], ALL ( 'Customers' ) )
) * 100
)
hello @Anonymous ,
you can use the following:
Your measure = (SUM(table[Custom Sales]) / CALCULATE(SUM(table[Custom Sales]),ALL(table)))) * 100
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
8 | |
6 |
User | Count |
---|---|
14 | |
13 | |
11 | |
9 | |
9 |