This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello All,
I have a measure as
Getting error:
"The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value."
Hi @sdhn
Try to add a column from your table to the formula:
OpenNMSCounts = Distinct(ALLSELECTED(Source[Column]))
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
It was my mistake. I rephrase my question.
we are using following measure to get total counts of each types or files.
Hi @sdhn
Try this:
Source =
CALCULATE (
COUNTROWS ( VALUES ( Source[Source.Name] ) ),
ALLEXCEPT ( Source, Source[Source.Name] )
)
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
It change to
count fo all files only one row count as below:
With old code :
Can you post sample data as text and expected output? or the PBIX file?
The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.
4. Relation between your tables
Appreciate your Kudos!!
LinkedIn:www.linkedin.com/in/vahid-dm/
How to upload files. Thanks
Hi @sdhn
Try this:
OpenNMSCounts = Distinct(ALLSELECTED(Source))
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Did not work out. Error
screen grayed out
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 6 | |
| 6 | |
| 6 |