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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Shameem
New Member

Customize Parameter field

Hi , I have requirment of ad hoc report when one select of value from list  , 3 columns need to be displayed in table .

 

Eg:  List (Multi Select)

List
TRx Volume
NRx Volume
NBRx Volume

 

If TRx Volume is selected, then table should display TRx Volume, Prior TRx Volume, % Change TRx .

If NRx Volume is selected, then table should display NRx Volume, Prior NRx Volume, % Change NRx.

If both are selected then 6 measures are displayed. 

Please help how ca we achive these in Power BI.

 

Thanks

 

 

1 ACCEPTED SOLUTION
ChiragGarg2512
Super User
Super User

@Shameem  Taking into consideration that TRx Volume, Prior TRx Volume, % Change TRx, NRx Volume, Prior NRx Volume, and % Change NRx are measures. Create a field parameter using these measures.

 

After this is done, go to the field parameter table and create a column with DAX

 [ NRx/PRx = Left(`Field Parameter Column Name`, 3)].  This will create a column that will have two values NRx and PRx.

 

Put that column in a slicer and on selection respective measures will be displayed. 

View solution in original post

1 REPLY 1
ChiragGarg2512
Super User
Super User

@Shameem  Taking into consideration that TRx Volume, Prior TRx Volume, % Change TRx, NRx Volume, Prior NRx Volume, and % Change NRx are measures. Create a field parameter using these measures.

 

After this is done, go to the field parameter table and create a column with DAX

 [ NRx/PRx = Left(`Field Parameter Column Name`, 3)].  This will create a column that will have two values NRx and PRx.

 

Put that column in a slicer and on selection respective measures will be displayed. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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