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
msbikk
Frequent Visitor

November 2017 Update - A table of multiple values was supplied where a single value was expected.

Hi Guys,

 

This is bit strange issue, not sure if anyone else has faced. Bit stuck here and seeking some help. 

We are not getting this error message in previous versions and only seeing this after November Update.

The Measure if only gathering information in the filter and passing this information to other measures that are used onto the report. A custom filter which is used further to calculate the % Female Patients Last Month.

 

GenderSelection = IF(
HASONEVALUE(Patient[Gender]), VALUES(Patient[Gender]),"Female")

 

% Female Patients T = if(([GenderSelection])="Female"|CALCULATE(DIVIDE([Patient Referred By Gender T]| [Patients - Referred T]|0)))

 

% Female Patients Last Month T = CALCULATE([% Female Patients T] | DATESINPERIOD('Date'[Date]|LASTDATE(ExtractDate[ReportDate])|-1|MONTH))

 

 

PBIX Error.PNG

 

 

Any suggestions is highly appriciated.

 

Regards,

KK

1 REPLY 1
Eric_Zhang
Employee
Employee

@msbikk

I don't reproduce the issue, could you share the pbix file? You can upload the pbix file to Onedrive/GoogleDrive and share the download link. Do note to mask sensitive data before uploading.

 

By the way, you can try to create the measure as

GenderSelection =
IF ( HASONEVALUE ( Patient[Gender] ), MAX ( Patient[Gender] ), "Female" )

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.

Top Solution Authors