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.
Solved! Go to Solution.
Hi @Oros
You should create a names table that is not connected to the transactions table :
and then create Dax with crossjoin inside for marker's color :
Use a measure that we created for the conditional formatting
Result:
Will work with top n logic in the same way.
pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Hi @Oros ,
Based on the description, the method Ritaf1983 provided should be helpful
Besides, try using the following DAX formula to filter the top n product.
Product Rank = RANKX(ALL('Table'), [Total number], , DESC, Dense)
TopN filter =
VAR SelectedTopN = SELECTEDVALUE('Table top n'[TopN])
RETURN
IF([Product Rank] <= SelectedTopN, 1, 0)
Drag the measure to the Filters pane and set the show item is 1.
Then, drag the sales person to the slicer visual and select the person.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Oros ,
Based on the description, the method Ritaf1983 provided should be helpful
Besides, try using the following DAX formula to filter the top n product.
Product Rank = RANKX(ALL('Table'), [Total number], , DESC, Dense)
TopN filter =
VAR SelectedTopN = SELECTEDVALUE('Table top n'[TopN])
RETURN
IF([Product Rank] <= SelectedTopN, 1, 0)
Drag the measure to the Filters pane and set the show item is 1.
Then, drag the sales person to the slicer visual and select the person.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Oros
You should create a names table that is not connected to the transactions table :
and then create Dax with crossjoin inside for marker's color :
Use a measure that we created for the conditional formatting
Result:
Will work with top n logic in the same way.
pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Happy to help 🌷
You will need to use a disconnected table containing a column of person name. You can create one using DAX
PersonsDisconnected = DISTINCT ( DataTable[Person] )
And then a conditional formatting measure
IF (
NOT (
ISBLANK (
CALCULATE (
COUNTROWS ( DataTable ),
KEEPFILTERS ( TREATAS ( PersonsDisconnected, DataTable[Person] ) )
)
)
),
"yellow"
)
From the conditional formatting options, select field value and then this measure.
Proud to be a Super User!
Most likely this will require disconnected tables.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
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 |
---|---|
143 | |
85 | |
66 | |
51 | |
45 |
User | Count |
---|---|
216 | |
89 | |
82 | |
66 | |
57 |