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 upgrading! Read all of the details including the timeline and what you can expect. Learn more
I'm coming from R where for a table called 'tbl' we can get a value like this:
tbl[i, j]
or if the table only has one row
tbl[j]
Is there something similar in DAX?
I've been using
I'm flexible with the syntax, the main problem with the working approach besides the verbosity is that I have to get the FIRSTNONBLANK value twice, and if it is a big table, then this is not as performant as being able to get a single row and then take the values from that row.
I can't see an option to share a PBIX... image, video is there, but not option to share a file.
@vfx661 Save it in some cloud drive and share via link
Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 25 | |
| 20 | |
| 20 | |
| 20 | |
| 20 |