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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

mapping function for floor plan management

Does BI have a mapping function to play with the row length for people in a stadium seating? Is there something like CAD that can be implemented in BI in an efficient way? I need something that allows us to insert different row values to see various layouts that would allow us to accommodate the total number of people.

1 ACCEPTED SOLUTION
v-gizhi-msft
Community Support
Community Support

Hi,

 

According to your description, i create an example to show:

1)Create five What-If parameters for end user to choose the info about seat and stadium.

51.PNG

Then create this measure to calculate the total number of people(seats):

Total Number of People =
ROUND (
    SELECTEDVALUE ( Length[Length] )
        / (
            SELECTEDVALUE ( 'Seat Length'[Seat Length] )
                + SELECTEDVALUE ( 'Seat Gap'[Seat Gap] )
        ),
    0
)
    * ROUND (
        SELECTEDVALUE ( Width[Width] )
            / (
                SELECTEDVALUE ( 'Seat Width'[Seat Width] )
                    + SELECTEDVALUE ( 'Seat Gap'[Seat Gap] )
            ),
        0
    )

When select slicers, the result shows:

50.PNG

Hope this cam help.

 

Best Regards,

Giotto ZHi

View solution in original post

1 REPLY 1
v-gizhi-msft
Community Support
Community Support

Hi,

 

According to your description, i create an example to show:

1)Create five What-If parameters for end user to choose the info about seat and stadium.

51.PNG

Then create this measure to calculate the total number of people(seats):

Total Number of People =
ROUND (
    SELECTEDVALUE ( Length[Length] )
        / (
            SELECTEDVALUE ( 'Seat Length'[Seat Length] )
                + SELECTEDVALUE ( 'Seat Gap'[Seat Gap] )
        ),
    0
)
    * ROUND (
        SELECTEDVALUE ( Width[Width] )
            / (
                SELECTEDVALUE ( 'Seat Width'[Seat Width] )
                    + SELECTEDVALUE ( 'Seat Gap'[Seat Gap] )
            ),
        0
    )

When select slicers, the result shows:

50.PNG

Hope this cam help.

 

Best Regards,

Giotto ZHi

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors