Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Data model for a questionnaire with next question to be displayed on the answer to the previous one

Hi,

 

I need to build a data model where by based on the answer to the current question the next questions is to be displayed.

 

Let us say I have a table of Questions with 4 rows

1. Question -1

2. Question -2

3. Question -3

4. Question - 4

 

The answers to these questions could be Yes, No, Predetermined value.

 

Depending on the answer to the current question the next question will have to be displayed

Say Answer to Question-1 is Yes then do not display Question -2 , display Question - 3

Then Based on answer to  Question -3 display Question -4.

 

Based on Answer to the question, 2 columns  Code and Value  need to be extracted and displayed.

 

Sample output

 

Capture.JPG

 

What is the best way to achieve this in Power BI.  This is working in Excel.

 

Any help will be appreciated.

 

 

Cheers

 

CheenuSing

 

 

 

 

 

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

hi, @Anonymous 

I'm a little confused by your description,

Depending on the answer to the current question the next question will have to be displayed

Say Answer to Question-1 is Yes then do not display Question -2 , display Question - 3

Then Based on answer to  Question -3 display Question -4.

 

Based on Answer to the question, 2 columns  Code and Value  need to be extracted and displayed.

It's difficult to find the logic by your description and the screenshot.

Could you please explain how to get the Code and Value in the screenshot?

If possible, could you share what you do in excel.

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi Lin,

 

Insert link does not seem to work for me.  Nor am I able to copy the link here.

 

Send me a private message with your email id. so that I can send to your email Id.

 

Cheers

 

CheenuSing

 

 

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors