Forum Discussion
MAX Function disrupts Table Visaul
hkillen What is that syntax? I tried that syntax and that did not work at all. Should be:
vPerentageOccupied= MAX ( 'TableA'[PAX]) / MAX ( 'TableA'[CAPACITY])
I don't see why that wouldn't work in a table where ID is included.
I tried with this table:
Table =
ADDCOLUMNS(
GENERATESERIES(1,10000),
"PAX",RANDBETWEEN(0,175),
"CAPACITY",200
)
and a visual that included an unsummarized [Value] and the measure and got subsecond response time.
- hkillen5 years ago
Helper I
I'm referring to a Table Visual (i.e., Card, MultiCard, Matrix, Table)...not a Data Table imported or a Table created from DAX.
- Greg_Deckler5 years ago
Community Champion
hkillen ? I don't know what you mean by that. I have never seen that syntax in DAX or the ability to refer to a visualization in DAX so no idea what you mean.
- hkillen5 years ago
Helper I
I have a Table VISUAL...that'd I'd like to populate with Columns and Measures.
The Table VISUAL has displayed every ID.
I have no challenges adding Column (i.e. Fields) to the Table VISUAL.
A couple of Measures I'm attempting to add...I am having challenges. The common denominator I have identified in the Measures is, perhaps, use of the MAX() Function. Is there a different function I can used that will provide the values from an imported DATA table that align with the unique ID indicated in the VISUAL table?