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 and thanks for reading this.
I have a problem that i have problem solving myself.
I have a month and i measure that sums the value for that month.
I would like to be able to add day(nr) to this table and have the "measure" value as it is (179744) for all day(nr) , also i would like the measure to be able to react if slicer is added that would change the totel sum. see below:
If i add days now it looks like this:
/Thanks
Solved! Go to Solution.
@Wresen I assume your first measure is smoething like this
CALCULATE(SUM('Table'[Value]),ALL('Table'[Month]))
Change it to
CALCULATE(SUM('Table'[Value]),ALL('Table'[Month],'Table'[Day]))
Hi, @Wresen,
Here is a sample I made:
url:
You can take a try of measure like Measure8
Measure8 = CALCULATE(SUM('Table'[Value] ),ALLEXCEPT('Table','Table'[Month]))
If I misunderstood your question, please let me know.
Best Regards,
Eason
Community Support Team _ Eason Fang
Hi, @Wresen,
Here is a sample I made:
url:
You can take a try of measure like Measure8
Measure8 = CALCULATE(SUM('Table'[Value] ),ALLEXCEPT('Table','Table'[Month]))
If I misunderstood your question, please let me know.
Best Regards,
Eason
Community Support Team _ Eason Fang
Thanks so much for that code , acctully measure 6 and 7 was the one i was looking for .
Really appriciate it.
@Wresen I assume your first measure is smoething like this
CALCULATE(SUM('Table'[Value]),ALL('Table'[Month]))
Change it to
CALCULATE(SUM('Table'[Value]),ALL('Table'[Month],'Table'[Day]))
Hi vimal_parmar
Thanks so much for your help.
I just needed to do:
CALCULATE(SUM('Table'[Value]),ALL(Table'[Day]))
to get it as i wanted , and i would not have solved it without your help.
/Thanks
User | Count |
---|---|
76 | |
75 | |
46 | |
31 | |
27 |
User | Count |
---|---|
99 | |
91 | |
51 | |
49 | |
45 |