Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Zahlenmatrix

  • Wesemannniels
  • Wesemannniels's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 6 months ago #189378 by Wesemannniels
Zahlenmatrix was created by Wesemannniels
Hallo Community,

ist es Möglich eine Zahlenmatrix zu erstellen, welche an eine Gesamtsumme geknüpft ist? Folgendes Beispiel: Es wird ein Unternehmen vorab nach seinen Gesamtkosten gefragt, diese Gesamtkosten werden anschließend in einer Matrix nach Kostenstellen abgefragt. Gibt der Befragte z.B. 1.000.000€ an müssen diese anteilig in der Matrix diese Summe ergeben.

Vielen Dank und Gruß

Niels
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 6 months ago - 4 years 6 months ago #189395 by Joffm
Replied by Joffm on topic Zahlenmatrix
Naja, das ist ein Fall für die Fragenvalidierung.

Du willst ja, dass die Summe von Q2, der Matrix, gleich der Eingabe in Q1 ist.
Also heißt die Fragen-Validierungsgleichung, die Du in Q2 einträgst:
sum(self)==Q1.NAOK

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 4 years 6 months ago by Joffm.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 6 months ago - 4 years 6 months ago #189407 by Joffm
Replied by Joffm on topic Zahlenmatrix
Übrigens:
Sollte Deine Matrix nicht als "Pflichteingabe" eingestellt sein, füge noch das "NAOK" hinzu.

Also: sum(self.NAOK)==Q1.NAOK

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 4 years 6 months ago by Joffm.
The topic has been locked.
Moderators: Joffm

Lime-years ahead

Online-surveys for every purse and purpose