The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
17 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
9 | |
8 |