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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
Microsoft Employee
Microsoft 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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors