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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
3mi81
Regular Visitor

Display more "single" data on the same visual object

Hello,
I started a few days ago to work with power bi.
I would like to know if it is possible to display three different values within the same visual object.

I would like to display the minimum, maximum and current value.

If possible, how should I structure the dataRoles and dataViewMappings?

 

example.png

 

 

 

{
    "dataRoles": [
        {
            "displayName": "Actual",
            "name": "actual",
            "kind": "Measure"
        },
        {
            "displayName": "Min",
            "name": "min",
            "kind": "Measure"
        },
        {
            "displayName": "Max",
            "name": "max",
            "kind": "Measure"
        }
    ],
    "objects": {
    },
    "dataViewMappings": [
        {
            "conditions": [
                { "actual": { "min": 0 } }
            ],
            "single": {
                "role": "actual"
            }
        }
    ],
    "privileges": []
}

 

 

 

Thanks,

E.

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

Hi @3mi81 ,

 

According to your statement, I suggest you to try "Multi-row card" visual.

vrzhoumsft_0-1699858281407.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
v-rzhou-msft
Community Support
Community Support

Hi @3mi81 ,

 

According to your statement, I suggest you to try "Multi-row card" visual.

vrzhoumsft_0-1699858281407.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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