Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I created a Power BI report for a client, but the data in the table was going beyond the bottom of the page.
The Client wants the data to all be on 1 page.
So, I created 2 separate tables. One table with Provider Names A through M. Then another table that brings back Provider Names N through Z.
I created the tables by using the Basic Filter option under Filters. The problem with Basic Filtering is that new Provider Names are always being added, so this would result in a lot of manual upkeep to these tables.
Is it possible to create a formula that will only bring back Provider Names A through M? Then another formula for N through Z?
I assume you will only need the dataset name and Provider Name to write the formula.
If there is anything else I am forgetting let me know and I will provide the information you need!
Thank you in advance!
Solved! Go to Solution.
Hello, you could attack this with a calculated column on the supplier table. Something like
LetterGroup=
VAR letter= LEFT(SupplierTable[SupplierName],1)
RETURN
SWITCH( letter,"a","a-m","b","a-m"........."n","n-z","o","n-z".....)
then just use that as a filter on each page. Alternately you could do that all in power query.
Cheers,
Hi @jonnyA
I create a sample , you can see if it can meet your needs .
(1)In Power Query , use Extract function to return the first letter of the name .
(2)Go back to Desktop view ,and then create two tables with DAX .
A-M = CALCULATETABLE('Table','Table'[First Characters] in {"a","b","c","d","e","f","g","h","i","j","k","l","m"})N-Z = CALCULATETABLE('Table','Table'[First Characters] in {"n","o","p","q","r","s","t","u","v","w","x","y","z"})
You will get two tables like the screenshot :
You can also add slicers with column [First Characters] field from corresponding tables .
I have attached my pbix file ,you can refer to it .
Best Regard
Community Support Team _ Ailsa Tao
Hello, I had to make some assumptions around your data structure. I am assuming you have say a fact table and a related supplier table. The formula I described earlier would be on the supplier table. If you only have the one giant table, you could put it there but I would reccomend splitting out dimensions from facts.
Cheers
Hello, you could attack this with a calculated column on the supplier table. Something like
LetterGroup=
VAR letter= LEFT(SupplierTable[SupplierName],1)
RETURN
SWITCH( letter,"a","a-m","b","a-m"........."n","n-z","o","n-z".....)
then just use that as a filter on each page. Alternately you could do that all in power query.
Cheers,
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 50 | |
| 43 |