Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi im trying to figure out a way to identify market shares for each day for each company + month to date and year to date.
I have a big data set with multiple companies and dates, but I will use this as a simple example:
I want my outcome to look something like this:
Any idéas? I will appriciate any help!
Solved! Go to Solution.
@Anonymous , You can create a measure like
divide(sum(Table[Revenue]),calculate(sum(Table[revenue]), removefilters(table[Company]))
then use this measure with day, Month and Year in row of matrix visual
Adding MTD and YTD like that would be challenging
Formula worksheet formula is enough to deal with such simple question,
Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
@Anonymous , You can create a measure like
divide(sum(Table[Revenue]),calculate(sum(Table[revenue]), removefilters(table[Company]))
then use this measure with day, Month and Year in row of matrix visual
Adding MTD and YTD like that would be challenging
User | Count |
---|---|
25 | |
11 | |
8 | |
7 | |
6 |
User | Count |
---|---|
25 | |
13 | |
12 | |
10 | |
6 |