Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello!
I import data in te following form:
I would like to create a chart/table as the following:
Any idea of how I could do this?
Hello,
You can transpose the columns to rows by using a cross table .
TEST : load * inline [Apartment ID,AIR CONDITIONING,HEATING,BALCONY,PARKING255,YES,NO,NO,NO301,NO,YES,NO,YES075,NO,NO,NO,NO111,YES,YES,NO,NO023,YES,YES,YES,YES];Cross: CrossTable([Facilities], [YESorNo?]) load [Apartment ID], [AIR CONDITIONING],[HEATING],[BALCONY],[PARKING] Resident TEST;DROP TABLE TEST; EXIT SCRIPT;
To create the table you want, you should use Facilities and YESorNO? as Dimensions then simply count the YESorNo? in the expressions section.