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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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