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 All,
I have data like below. I use the function :
Please help me how to fix the calculate the Total = 35.360. Thank you!
Solved! Go to Solution.
Hi @jame_moriaty
Please try
IP Land Leased Area Last Value =
SUMX (
VALUES ( TableName[City] ),
CALCULATE (
LASTNONBLANKVALUE ( 'Calendar'[DATE], 'Industrial Park'[IP Land Leased Area] )
)
)
Hi @jame_moriaty
Please try
IP Land Leased Area Last Value =
SUMX (
VALUES ( TableName[City] ),
CALCULATE (
LASTNONBLANKVALUE ( 'Calendar'[DATE], 'Industrial Park'[IP Land Leased Area] )
)
)
Thank you tamerj1 so much !
@jame_moriaty This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Dear Greg,
I don't know how to fix this error . Can you help me ?
@jame_moriaty Try:
IP Land Leased Area Last Value Total =
VAR __Table = SUMMARIZE('Table',[City],"__Value",[IP Land Leased Area Last Value])
RETURN
IF(HASONEVALUE('Table'[City]), [IP Land Leased Area Last Value], SUMX(__Table,[__Value]))
User | Count |
---|---|
25 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
25 | |
12 | |
11 | |
10 | |
6 |