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, I would like to display the values as SUM of TOTAL PER YEAR as listed on the EXPECTED column below..
How do I do this correctly because on my graph that I have been developing it is displaying as the Total Allotted instead of the EXPECTED..
I have been experimenting with formulas but no luck 😞
Solved! Go to Solution.
@GA1993 try this
Measure:= calculate(sum(tbl[TotalAllotted]),allexcept(tbl,tbl[year]))
@GA1993 try this
Measure:= calculate(sum(tbl[TotalAllotted]),allexcept(tbl,tbl[year]))
Hi,
It doesnt seem to accept the suggested solution. I think the FACT DAX doesnt work 😞
@GA1993 Fact is the name of the table. Edited, try again.
Is there a reason why the Year is not acccepted? I have made the relationship between the MP Engine and Date so Im not sure where the issue is 😕
@GA1993 what does the error say?
It says it cannot find the name Year
But this is my Date table
try:
'Date'[Date].[Year]
@GA1993 use a Date table, and not date hierarchy. You can find plenty of examples in this forum & / web about DAX Date table.
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
12 | |
10 | |
6 |