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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Disconnected Sicer with Different Data Types

Hello all,

 

I am building out a matrix and one of the requirements for this matrix is to have the measures in the rows section of the table. I was able to achieve this by creating a disconnected table and using the SELECTEDVALUES function. The problem I ran into is that the mesaures in the matrix are a mix of whole numbers and percentages and the percentages appear as 0. I checked the percebtage measure in a seperate table and it works so my guess is that the method I used only allows for one data type. Is there a way around this?

Matrix.PNG

Value Selection = 
VAR Selection = SELECTEDVALUE('Disconnected Table'[Measures], "All")

Return

SWITCH(TRUE(),
    Selection = "Webinar Registrants", [Webinar Registrants],
    Selection = "Webinar Attendees", [Webinar Attendees],
    Selection = "Webinar Attend Rate", [Webinar Attend Rate],
    Selection = "Webinar Enrollments", [Evergreen Webinar Enrollments],
    Selection = "Webinar Enroll Rate", [Evergreen Enroll Rate]
)
5 REPLIES 5
TomMartens
Super User
Super User

Hey,

 

I'm wondering if this will provide what you are looking for:

image.png

Mark the matrix table and in the formatting section  simply switch the property "Show on rows" from the Values band.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

Hi Tom,

 

Thanks for your response. Unfortunetly, that didn't work. I'm still getting 0 for values that should be percentages.

Hey,

 

do you use the original measures and did you check the "Format" option for each value from the formatting ribbon from the "Modeling" menu:

image.png

Regards,

Tom

 

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

Yes. All the measures that are formatted as "Whole Number" appear. Measures that are formatted as "Percentages" come back as 0.

Hey,

 

can you please create a PBIX file with sample data, upload the file to onedrive or dropbox, and please share the link.

 

Regards,

Tom 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.