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
sambgv
Helper I
Helper I

field parameter & two stacked column charts

Hello everyone! 

I'm stuggling with a field parameter table. 
So what i need is to be able to switch between absolute and percentage values and display those in 2 different stacked columns. sample data with all information.  -->

 https://drive.google.com/file/d/19sDfRxoOWVj_KUhBYjQvg5dOFEh2sfo_/view?usp=sharing 

 

I built a field parameter table for slicing by absolute and % values. Also, what I currently have is
2 measures created_abs , created_perc for the table Created Tasks AND
2 measures resolved_abs, resolved_perc. 

What i'm trying to achieve is is one measure for the parameter table "switch" for absolute values in two tables (they represent diffrent kidns of informations). so when i click on absolute: created_abs values are displayed in the Created Tasks table and resolved_abs values are displayed in the Resolved Tasks table. AND SAME applies for % values in 2 tables. (one measure for both %measures) 

I tried to play with switch(), but couldn't find a solution. 

the "switch_created" slicer uses created_abs and created_perc measures at the moment. 

I'd appreciate any help 🙂 

Thanks param1.pngparam2.png

1 ACCEPTED SOLUTION
miTutorials
Super User
Super User

You will have to create another Calendar table and use the IsInScope function to switch between Created and Resolved tickets - Please see the pbix attached.

 

Ismail
🎥 Check out my YouTube Channel for Power BI tips & tutorials!
🔗 MiTutorials - Power BI Learning Hub

 

View solution in original post

2 REPLIES 2
miTutorials
Super User
Super User

You will have to create another Calendar table and use the IsInScope function to switch between Created and Resolved tickets - Please see the pbix attached.

 

Ismail
🎥 Check out my YouTube Channel for Power BI tips & tutorials!
🔗 MiTutorials - Power BI Learning Hub

 

thanks @miTutorials ! this is a very cool solution. However, eventually this report is one of many reports, that will be included in one dashboard. For these dashboard, one common date field will be used to filter by month/year. do you think it will be problematic with the current model in this report? 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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