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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Activate calculation/measure in visual table by toggle button/bookmark/slicer etc.

Hi PowerBi community,

 

I created a visual table with 2 slicers. 

s3004023_3-1673691520591.png

The effort in last column of visual table is displayd in hours from a database. Now I want to switch from hours to man days. Calculation is pretty simple: SUMX(Effort/8). I don't want to add a new column with Effort in man days for reasons of space. (This is only an excerpt of the table I used. In reality, there are many more columns.)

I would prefer a smarter solution e.g. using a toggle button/bookmark/slicer etc. to switch hours to man days in the visual table (i.e. active the calculation via button/bookmark/slicer etc.).

Expected result:

s3004023_2-1673691186984.png

I would be happy about a simple and fast solution. It doesn't have to be a toggle button. I'm open to any samrt solutions that switch the unit hours to man days.

 

Thank you in advance.

 

Nici

1 ACCEPTED SOLUTION

@Anonymous,

 

You could try posting in the Report Server forum:

 

https://community.powerbi.com/t5/Report-Server/bd-p/ReportServer 

 

If calculation groups are available in Report Server, you could create a calculation group with two calculation items: one for Hours, and one for Man Days. Alternatively, you could create a disconnected table with two rows (one for Hours, and one for Man Days) and use DAX to display the selected value.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
DataInsights
Super User
Super User

@Anonymous,

 

Have you tried a fields parameter? It allows the user to select the field to display in visuals.

 

https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Hi Super User,

 

Thanks for the fast reply, unfortunately the feature Modeling tab and select New parameter > Fields.

is not supported by Power BI Report Server. 

 

s3004023_0-1673722570534.png

 

Do you have another suggestion?

 

Best

 

Nici

 

@Anonymous,

 

You could try posting in the Report Server forum:

 

https://community.powerbi.com/t5/Report-Server/bd-p/ReportServer 

 

If calculation groups are available in Report Server, you could create a calculation group with two calculation items: one for Hours, and one for Man Days. Alternatively, you could create a disconnected table with two rows (one for Hours, and one for Man Days) and use DAX to display the selected value.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.