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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Chrisw97
New Member

Selected value and field parameters

 

Hi,

I'm working on a report for the following purpose: next month, we will release a new version of our software tool. With Power BI, I want to check if the migration went well, that is, if the new database has the same values as the old database. We are currently running a test environment. I'm building the report but I'm facing a problem.

My goal is to compare values from the table of the old version (Prod_Pompen) with the values of the new/test version (Acc_pompen).

I prefer to create a report where I can select the columns I want to compare. Here’s what I’ve done so far:

First, I created two field parameters that contain the columns of each table (Parameter_prod & Parameter_acc).

Then, I created a measure to compare the parameters:

Vergelijking parameter =
var prod = SELECTEDVALUE('Parameter prod'[Parameter prod Fields])
var acc = SELECTEDVALUE('Parameter acc'[Parameter acc Fields])
RETURN
IF( prod = acc;"Match";"No Match")
 

After that, I added two slicers in the report and applied the parameters to each slicer. I want to click the columns in these slicers to compare the selected columns with each other in a table that only shows "No match". The problem is that currently all the fields show the result of the measure as "no match".

Can someone help me out?

1 REPLY 1
v-zhangti
Community Support
Community Support

Hi, @Chrisw97 

 

Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.

 

Best Regards,

Community Support Team _Charlotte

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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