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 have a DAX statement like this :
"VAR _road = RST[road]
VAR _section = RST[section]
VAR _dist = RST[distance]
VAR _COMPARISON = CALCULATE(SUM(RST[edgedropoffdepth]); FILTER(RST; RST[distance] = _dist && RST[road] = _road && RST[section] = _section && RST[runname] = 41))
RETURN
RST[edgedropoffdepth] - _COMPARISON"
So basically I have the same road/section/distance and I'd like to compare how the value has changes. Is it somehow possible to but a value for this "VAR _FIRST", if there is no value with desired distances, road, section and runname. So is there a possibility to add somekind of IF statement (or something else).
Hello @Anonymous
Take a look at this article. It contains some great tips for getting your question answered quickly.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Thanks for being part of the community!
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
13 | |
11 | |
9 | |
6 |