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,
This seems like it should be really easy, alas I am a new user of DAX. I have a table and I would like a measure to retrieve a value given the column and row names. I have a measure that uses "FILTER", but I need something that also filters for the "Min" column regardless of the value in the table. I am not trying to calculate anything, I am quite simply trying to query for a value given the column and row names.
The measure looks like this:
Pressure_Min = FILTER(SensorTable, [Sensor] = "Pressure" && {add something to filter for column = [Min]})
This measure would grab the value 5 to use as a limit value for a gauge visual. Thanks for the help.
Sensor | Min | Max |
Pressure | 3 | 5 |
Temperature | 80 | 100 |
Solved! Go to Solution.
You can't reference a column with a string variable in DAX; transform the dataset,
Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
You can't reference a column with a string variable in DAX; transform the dataset,
Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
28 | |
12 | |
10 | |
10 | |
6 |