Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi all,
I have the following Matrix visual as shown down below. Is it possible to tweak the "W/O Reason" measure to get a text line called "Various reasons" in the row "SR_Service_RecID" (11882) in cases where the underlying row Time_RecID (176315, 176316, 176318) has various W/O Reasons?
My current measure W/O Reason looks like this:
The data is imported from a Sql database, the yellow highlighted field is the basis for the measure.
Here is a sample file for download:
https://www.dropbox.com/s/m02gi8921l97o5z/Sample_Data.pbix?dl=0
Solved! Go to Solution.
W/O Reason =
var r = countrows(values(xxx[No_bill_reason_3]))
return switch(true(),r=1,max(xxx[No_bill_reason_3]),r>1,"Various reasons",BLANK())
Please provide sanitized sample data that fully covers your issue. If you paste the data into a table in your post or use one of the file services it will be easier to assist you. Avoid posting screenshots of your source data if possible.
Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
@lbendlin Hi, here is a sample data file. I appreciate it if you can help me.
https://www.dropbox.com/s/m02gi8921l97o5z/Sample_Data.pbix?dl=0
W/O Reason =
var r = countrows(values(xxx[No_bill_reason_3]))
return switch(true(),r=1,max(xxx[No_bill_reason_3]),r>1,"Various reasons",BLANK())
This is exactly what I needed, thanks a lot!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
85 | |
65 | |
50 | |
45 |
User | Count |
---|---|
217 | |
88 | |
81 | |
65 | |
56 |