Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello everyone
Relatively new to BI and was looking for some help.
Is there a way to create a slicer or a button or anything else that can switch values on the fly on multiple visualisations between sq.m and sq.ft. Bookmarks is and obvious solution but i m looking for a different approach as it means duplicating way too many visualisations.
Any help or input would be greatly appreciated.
Solved! Go to Solution.
Hi @alkinio,
I believe that what you need is to create a measure or several that respond to a slicer and give you the expected outcome in sq.m or sq.f
Without knowledge of your data model you need to create something like this:
Created a table only with values that are going to be converted let's assume this is only in units
Values_To_convert
Cat Value
| A | 100 |
| B | 60 |
| C | 30 |
| D | 20 |
| E | 80 |
Conversion_Table
Type Conversionfactor
| Sq.m | 2 |
| Sq.f | 3 |
Conversion factor only for example purposes.
Then create a measure that looks somehting like this:
Convert =
SWITCH (
MAX ( Conversion_Table[Type] );
"Sq.m"; SUM ( Values_To_convert[Value] ) * MAX ( Conversion_Table[Conversionfactor] );
"Sq.f"; SUM ( Values_To_convert[Value] ) * MAX ( Conversion_Table[Conversionfactor] )
)Then just add this measure to your charts and conversion will take place:
Again not knowing your model I can't give your further help but hopefully this will guide in the right direction.
Attach PBIX file.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @alkinio,
I believe that what you need is to create a measure or several that respond to a slicer and give you the expected outcome in sq.m or sq.f
Without knowledge of your data model you need to create something like this:
Created a table only with values that are going to be converted let's assume this is only in units
Values_To_convert
Cat Value
| A | 100 |
| B | 60 |
| C | 30 |
| D | 20 |
| E | 80 |
Conversion_Table
Type Conversionfactor
| Sq.m | 2 |
| Sq.f | 3 |
Conversion factor only for example purposes.
Then create a measure that looks somehting like this:
Convert =
SWITCH (
MAX ( Conversion_Table[Type] );
"Sq.m"; SUM ( Values_To_convert[Value] ) * MAX ( Conversion_Table[Conversionfactor] );
"Sq.f"; SUM ( Values_To_convert[Value] ) * MAX ( Conversion_Table[Conversionfactor] )
)Then just add this measure to your charts and conversion will take place:
Again not knowing your model I can't give your further help but hopefully this will guide in the right direction.
Attach PBIX file.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThank you so much for the help.
Its really useful and close to what i was looking for.
Regards
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 169 | |
| 109 | |
| 91 | |
| 55 | |
| 44 |