This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is now in read-only for platform upgrade. Learn more
Circling back on this, I'm trying to put into a table the financial forecast for the next 5 years, based on this year's growth rate. I have precalculated everything and have this DAX:
thanks @jgeddes, here is what I put in and here is the error I recieved:
Error: Caclulation error in mesaure 'Extrap Tabl'[Measure 3]: A table of multiple values was supplied where a single value was expected.
Can you check the criteria in your measure? It looks like you are evaluting if the table row has one [YEAR DATE] value which is true. Then you are evaluting whether or not the [YEAR DATE] value in the row is greater than the current year. This evaluates as true in all rows shown in your table, which is why you are seeing true returned.
If you change your criteria to
HASONEVALUE('Calendar Table' [YEAR DATE]) && VALUES(('Calendar Table'[YEAR DATE])) > VALUE(YEAR(TODAY()))
does that get you the result you are looking for?
Proud to be a Super User! | |
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 14 | |
| 14 | |
| 13 |
| User | Count |
|---|---|
| 47 | |
| 39 | |
| 24 | |
| 20 | |
| 20 |